From: George H. <geo...@us...> - 2008-05-16 23:42:37
|
Update of /cvsroot/win32forth/win32forth/Help/html In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18832 Modified Files: w32f-forthtypes.htm Log Message: gah: minor corrections Index: w32f-forthtypes.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-forthtypes.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** w32f-forthtypes.htm 15 May 2008 07:36:49 -0000 1.1 --- w32f-forthtypes.htm 16 May 2008 23:42:33 -0000 1.2 *************** *** 42,48 **** <p><code>2VARIABLE ( <name> -- )</code> \ create a double precision variable</p> ! <p><code>CREATE</code> is a more versatile defining word that simply create a header in the dictionary and, when executed, pushes on stack its pfa, the address immediately following ! the header. Just after <code>CREATE</code>ing a word, you can allocate and/or initialize some space in the dictionary for it. Examples :</p> <pre> --- 42,48 ---- <p><code>2VARIABLE ( <name> -- )</code> \ create a double precision variable</p> ! <p><code>CREATE</code> is a more versatile defining word that simply creates a header in the dictionary and, when executed, pushes on stack its pfa, the address immediately following ! the header. Just after <code>CREATE</code>ing a word, you can allot and/or initialize some space in the dictionary for it. Examples :</p> <pre> *************** *** 55,59 **** 30 ERASE \ erase 30 byte starting at saved address HERE </pre> ! <p>Notice that <code>HERE</code> has to be invoqued before <code>ALLOT</code> because this later increments the dictionary pointer and we need to <code>ERASE</code> from the beginning of rawdata.</p> --- 55,59 ---- 30 ERASE \ erase 30 byte starting at saved address HERE </pre> ! <p>Notice that <code>HERE</code> has to be invoked before <code>ALLOT</code> because this later increments the dictionary pointer and we need to <code>ERASE</code> from the beginning of rawdata.</p> |