From: George H. <geo...@us...> - 2011-11-18 22:40:03
|
Update of /cvsroot/win32forth/win32forth/Help/html In directory vz-cvs-4.sog:/tmp/cvs-serv6074/html Modified Files: w32f-HelpPresent.htm w32f-boolean.htm w32f-vocabulary.htm Log Message: Updated docs. Optimised structures Index: w32f-boolean.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-boolean.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** w32f-boolean.htm 15 May 2008 06:28:27 -0000 1.1 --- w32f-boolean.htm 18 Nov 2011 22:40:00 -0000 1.2 *************** *** 64,68 **** MIN ( n1 n2 -- n3 ) minimum of singles n1 and n2 </pre> ! <p><hr>Document : w32f-boolean -- 2008/06/09 -- Camille Doiteau</p> </body> --- 64,69 ---- MIN ( n1 n2 -- n3 ) minimum of singles n1 and n2 </pre> ! <h2>Floating Point Comparison operators</h2> ! <a href="dexh-float.htm#Sec#9">see here</a> <p><hr>Document : w32f-boolean -- 2008/06/09 -- Camille Doiteau</p> </body> Index: w32f-HelpPresent.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-HelpPresent.htm,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** w32f-HelpPresent.htm 1 Mar 2011 21:52:06 -0000 1.3 --- w32f-HelpPresent.htm 18 Nov 2011 22:40:00 -0000 1.4 *************** *** 83,90 **** the quick info to know in what source file this word was defined (say "afile.f") and add at the beginning of your source the directive ! :<code> NEEDS afile.f</code></p> <p>You can look at the <code>DEFER</code>ed words contents by typing, in the ! Console, <code>ACTION-OF adefer 'SEE</code> . <hr> --- 83,90 ---- the quick info to know in what source file this word was defined (say "afile.f") and add at the beginning of your source the directive ! :<code> REQUIRE afile.f</code></p> <p>You can look at the <code>DEFER</code>ed words contents by typing, in the ! Console, <code>SEE adefer</code> . <hr> Index: w32f-vocabulary.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-vocabulary.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** w32f-vocabulary.htm 15 May 2008 07:36:50 -0000 1.1 --- w32f-vocabulary.htm 18 Nov 2011 22:40:00 -0000 1.2 *************** *** 9,16 **** <h1>Wordlists & Vocabularies</h1> ! <p>Given the ANS standard, wordlists have replaced vocabularies. They represent the same ! concept but wordlists are handled via numbers ("wid" or wordlists ids) and vocabularies are handled by names, which is more handy. That is why we still use vocabularies in ! Win32Forth (They are internally defined as wordlists however). In the following, we will consider wordlists and vocabularies as synonyms, which they are not.</p> --- 9,17 ---- <h1>Wordlists & Vocabularies</h1> ! <p>In the ANS standard, wordlists have replaced vocabularies. They represent the same ! concept but wordlists are handled via unique identifiers ("wid" or wordlists ids) and vocabularies are handled by names, which is more handy. That is why we still use vocabularies in ! Win32Forth (They are internally defined as wordlists however).Win32Forth Vocabularies follow the Forth-83 model ! (the same as g Forth). In the following, we will consider wordlists and vocabularies as synonyms, which they are not.</p> *************** *** 37,49 **** <p>Note : this is the initial order. If you accidentally remove the <code>FORTH</code> vocabulary ! just before <code>ROOT</code> , you will not have any word left but <code>FORTH</code> (this is ! the only word defined in <code>ROOT</code>) and you will have to execute it to restore the ! order to : </p> <pre> ORDER Context: FORTH ROOT Current: FORTH ok</pre> ! <p>You can deliberately clean the search order by invoquing the word <code>ONLY</code>. For ! the same reason as above, you will then be obliged to invoque <code>FORTH</code> to obtain the same result. So remember that you have to use the sequence <code>ONLY FORTH</code> to clean the search order.</p> --- 38,51 ---- <p>Note : this is the initial order. If you accidentally remove the <code>FORTH</code> vocabulary ! just before <code>ROOT</code> , you will not have any words left but <code>FORTH</code> ! , <code>FORTH-WORDLIST</code> and <code>SET-ORDER</code>(these are the only words defined in ! <code>ROOT</code>) and you will have to execute one or more of them in order to restore the order ! to :</p> <pre> ORDER Context: FORTH ROOT Current: FORTH ok</pre> ! <p>You can deliberately clean the search order by invoking the word <code>ONLY</code>. For ! the reason given above, you will then be obliged to invoke <code>FORTH</code> to obtain the same result. So remember that you have to use the sequence <code>ONLY FORTH</code> to clean the search order.</p> *************** *** 63,67 **** Current: FORTH </pre> ! <p>Invoquing a vocabulary name replaces the top of <code>ORDER</code> with that vocabulary. Still with the previous example :</p> <pre> ASSEMBLER --- 65,69 ---- Current: FORTH </pre> ! <p>Invoking a vocabulary name replaces the top of <code>ORDER</code> with that vocabulary. Still with the previous example :</p> <pre> ASSEMBLER |