From: George H. <geo...@us...> - 2009-08-08 19:03:08
|
Update of /cvsroot/win32forth/win32forth/Help/html In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv18428/Help/html Modified Files: dexh-switch.htm w32f-Arch-Dict.htm w32f-MoveTo.6.14.htm w32f-locals.htm w32f-quicktour.htm Log Message: Minor spelling corrections Index: w32f-locals.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-locals.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** w32f-locals.htm 15 May 2008 07:36:49 -0000 1.1 --- w32f-locals.htm 8 Aug 2009 19:02:55 -0000 1.2 *************** *** 103,142 **** 0. 2var 2! \ store double number 0 in 2 var</pre><pre> .... ;</pre> - <h2>Using stack frames</h2> - - <p>An alternative way of having local - structures is to use consecutive locals to hold the values. This is especially - useful for interfacing to the OS API functions since C structures like: </p> - - <pre> typedef struct tagMSG { // msg - HWND hwnd; - UINT message; - WPARAM wParam; - LPARAM lParam; - DWORD time; - POINT pt; - } MSG;</pre> - - <p>can be easily mirrored in the argument list as in the following example: </p> - - <pre> : MESSAGE-LOOP ( -- ) \ Do all messages until WM_QUIT - { \ hwnd mess wparm lparm time pt.x pt.y -- } - Begin - 0 0 0 &ampof hwnd call GetMessage - While - &ampof hwnd handlemessages drop - Repeat ;</pre> - - <p>where the structure is referenced by the address of the first member. The - <code>POINT</code> structure ( <code>pt.x</code> and <code>pt.y</code> ) - can be referenced as a whole by </p> - - <pre> &OF pt.x</pre> - - <p>if required. </p> - - <p><b>Note</b> in early versions of Win32F the word <code>&OF</code> - only worked on Values and a separate word <code>&LOCAL</code> was provided for the - address of a Local. </p> <hr> --- 103,106 ---- Index: dexh-switch.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/dexh-switch.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dexh-switch.htm 16 May 2008 11:51:25 -0000 1.1 --- dexh-switch.htm 8 Aug 2009 19:02:55 -0000 1.2 *************** *** 64,68 **** [SWITCH FOO-ERROR throw SWITCH] ! : (FOO) -&ltSome code>- ; : FOO ['] (foo) catch foo-error ; An extensible error handler. Initially any errors are simply thrown to the previous CATCH but adding extra --- 64,68 ---- [SWITCH FOO-ERROR throw SWITCH] ! : (FOO) -<Some code>- ; : FOO ['] (foo) catch foo-error ; An extensible error handler. Initially any errors are simply thrown to the previous CATCH but adding extra Index: w32f-quicktour.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-quicktour.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** w32f-quicktour.htm 15 May 2008 07:36:50 -0000 1.1 --- w32f-quicktour.htm 8 Aug 2009 19:02:55 -0000 1.2 *************** *** 33,37 **** <p> Once you are developping ! complex applications, theese files will provide many examples of "complicated" use of Win32Forth, but this is not the best place to start. </p> --- 33,37 ---- <p> Once you are developping ! complex applications, these files will provide many examples of "complicated" use of Win32Forth, but this is not the best place to start. </p> *************** *** 92,96 **** <ul> ! <li>w32FConsole.dll is used by Console </li> <li>w32fScintilla.dll is used by the SciEdit editor (and then by the IDE)</li> <li>Zip32.dll is used by the IDE and Project Manager </li> --- 92,96 ---- <ul> ! <li>w32FConsole.dll was used by Console in older versions, but has been replaced by a new console written in forth. </li> <li>w32fScintilla.dll is used by the SciEdit editor (and then by the IDE)</li> <li>Zip32.dll is used by the IDE and Project Manager </li> *************** *** 100,107 **** <p> If you want to use Win32Forth in another directory than where it was installed, you will have to ! bring theese dlls and the config files with it. </p> <p> They are ways to get rid of ! theese dlls once you have made an application <code>TURNKEY</code> (a TUNRNKEYed application is an application running on its own, with no longer available Forth interpreter) </p> --- 100,107 ---- <p> If you want to use Win32Forth in another directory than where it was installed, you will have to ! bring these dlls and the config files with it. </p> <p> They are ways to get rid of ! these dlls once you have made an application <code>TURNKEY</code> (a TUNRNKEYed application is an application running on its own, with no longer available Forth interpreter) </p> Index: w32f-Arch-Dict.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-Arch-Dict.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** w32f-Arch-Dict.htm 15 May 2008 06:28:27 -0000 1.1 --- w32f-Arch-Dict.htm 8 Aug 2009 19:02:55 -0000 1.2 *************** *** 317,326 **** <td>MFA</td> <td>2 cells</td> ! <td>the classe's methods dictionary (*)</td> </tr> <tr> <td>IFA</td> <td>1 cell</td> ! <td>the classe's instance variables dictionary</td> </tr> <tr> --- 317,326 ---- <td>MFA</td> <td>2 cells</td> ! <td>the class's methods dictionary (*)</td> </tr> <tr> <td>IFA</td> <td>1 cell</td> ! <td>the class's instance variables dictionary</td> </tr> <tr> *************** *** 346,350 **** number of threads, which is currently 2, hence the 2 cells size for this field. The selectors are actually CONSTANTs which are stored in the HASHED vocabulary. ! When a selector is invoqued for a class, it is searched in the MFA lists and, if found, the method defined in the class is executed.</p> --- 346,350 ---- number of threads, which is currently 2, hence the 2 cells size for this field. The selectors are actually CONSTANTs which are stored in the HASHED vocabulary. ! When a selector is invoked for a class, it is searched in the MFA lists and, if found, the method defined in the class is executed.</p> Index: w32f-MoveTo.6.14.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/w32f-MoveTo.6.14.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** w32f-MoveTo.6.14.htm 2 Sep 2008 06:48:39 -0000 1.2 --- w32f-MoveTo.6.14.htm 8 Aug 2009 19:02:55 -0000 1.3 *************** *** 19,23 **** any needed conversion immediately. Light changes usually are words being declared "DEPRECATED". They keep your code running but you are strongly encouraged ! to make conversions as soon as possible because theese words will simply have disappeared in the next version.</p> --- 19,23 ---- any needed conversion immediately. Light changes usually are words being declared "DEPRECATED". They keep your code running but you are strongly encouraged ! to make conversions as soon as possible because these words will simply have disappeared in the next version.</p> *************** *** 39,43 **** still here but its behaviour has slightly changed.</p> ! <p>Behind theese changes are two ideas : avoid the need of setting defers before a save, particularly <code>DEFAULT-HELLO</code> which is too close to the sytem and easily handle the inclusion of a console and/or message loop --- 39,43 ---- still here but its behaviour has slightly changed.</p> ! <p>Behind these changes are two ideas : avoid the need of setting defers before a save, particularly <code>DEFAULT-HELLO</code> which is too close to the sytem and easily handle the inclusion of a console and/or message loop *************** *** 120,124 **** simple instructions to remove the deprecated word from your source. Usually, this can be done by a simple search and replace, so don't hesitate to do the work, as ! you know that theese words will not be in the future Win32Forth release.</p> --- 120,124 ---- simple instructions to remove the deprecated word from your source. Usually, this can be done by a simple search and replace, so don't hesitate to do the work, as ! you know that these words will not be in the future Win32Forth release.</p> |