Path: utzoo!attcan!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Forth Engines / Harris Message-ID: <1066.UUL1.3#5129@willett.UUCP> Date: 2 Jun 90 04:33:15 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 29 Date: 05-30-90 (08:07) Number: 582 (Echo) To: ALL Refer#: NONE From: JACK WOEHR Read: (N/A) Subj: RTX2001A: HALIGN DALIGN Status: PUBLIC MESSAGE Hmmm ... if you create a table in memory in RTX2001A EBForth with CREATE and a buncha C, the dictionary can get misaligned! ( for code space use: ) : HALIGN H @ 1 AND H +! ; ( also, for data space: ) : DALIGN R @ 1 AND H +! ; may be needed, as in : CTABLE CREATE DOES> + ; CTABLE FOO 1 C, 2 C, 17 C, 34 C, 99 C, HALIGN In this example, if you *don't* use HALIGN, the next word you create in the dictionary won't be findable because name header will be odd-aligned. =jax= NET/Mail : RCFB Golden, CO (303) 278-0364 VESTA & Denver FIG for Forth! ----- This message came from GEnie via willett through a semi-automated process. Report problems to: uunet!willett!dwp or willett!dwp@hobbes.cert.sei.cmu.edu