From: George H. <geo...@us...> - 2006-08-03 13:08:47
|
Update of /cvsroot/win32forth/win32forth/doc In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17644/win32forth/doc Modified Files: p-gethelp.htm Log Message: gah:Added code so that a warning is given if the Does> part of the defing word is in in-system and is used to create a word in-application (which would cause problems for TURNKEYed programs). NOTE needs the new FKERNEL.EXE from the CVS to build. Index: p-gethelp.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/p-gethelp.htm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** p-gethelp.htm 21 Mar 2006 10:32:42 -0000 1.5 --- p-gethelp.htm 3 Aug 2006 13:08:21 -0000 1.6 *************** *** 351,354 **** --- 351,361 ---- <span class="fixedfont"><a href="#Warning(-4105)">has a hash value that is already recognised by this class."</a></span></td> </tr> + <tr> + <td style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid green; background-color: #FFFFDD" width="212" align="center"> + -4106</td> + <td style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid green; background-color: #FFFFDD" width="356"> + <span class="fixedfont"><a href="#Warning(-4106)">is an application word whose runtime is in a system word."</a></span></td> + </tr> + </table> </center> *************** *** 988,992 **** <p><b>Resolution: </b>If you understand this, and it's annoying you, then turn off warnings with <span class="fixedfont"><a href="#Suppressing Warnings"> ! WARNINGS OFF</a></span>. Otherwise, realise that your application might fail if it is <span class="fixedfont"><a href="p-imageman.htm">TURNKEY</a></span>ed.</p> <hr> --- 995,999 ---- <p><b>Resolution: </b>If you understand this, and it's annoying you, then turn off warnings with <span class="fixedfont"><a href="#Suppressing Warnings"> ! SYS-WARNING-OFF</a></span>. Otherwise, realise that your application might fail if it is <span class="fixedfont"><a href="p-imageman.htm">TURNKEY</a></span>ed.</p> <hr> *************** *** 1007,1011 **** <p><b>Resolution: </b>If you understand this, and it's annoying you, then turn off warnings with <span class="fixedfont"><a href="#Suppressing Warnings"> ! WARNINGS OFF</a></span>. Otherwise, realise that your application might fail if it is <span class="fixedfont"><a href="p-imageman.htm">TURNKEY</a></span>ed.</p> <hr> --- 1014,1018 ---- <p><b>Resolution: </b>If you understand this, and it's annoying you, then turn off warnings with <span class="fixedfont"><a href="#Suppressing Warnings"> ! SYS-WARNING-OFF</a></span>. Otherwise, realise that your application might fail if it is <span class="fixedfont"><a href="p-imageman.htm">TURNKEY</a></span>ed.</p> <hr> *************** *** 1067,1070 **** --- 1074,1096 ---- <span class="fixedfont"><a href="#Suppressing Warnings">WARNING OFF</a></span>. </p> <hr> + <p><span class="fixedfont"><font size="4"><b><a name="Warning(-4106)"> + Warning(-4106)</a></b></font></span><b><span class="fixedfont"><font size="4">: + <name> is an application word whose runtime is in a system word</font></span></b></p> + <p><b>Summary: </b>Warning. The word <name> you are defining is in the normal + application area; but the DOES> part of the defining word is in the system area, and might not be + available if the application is <span class="fixedfont"> + <a href="p-imageman.htm">TURNKEY</a></span>ed. </p> + <p><b>Example:</b></p> + <blockquote> + <pre><b>: MyConstant create , does> @ ;</b> ok + <b>' MyConstant Foo + </b>^ + Warning(-4106): Foo is an application word whose runtime is in a system word</pre> + </blockquote> + <p><b>Resolution: </b>If you understand this, and it's annoying you, then turn + off warnings with <span class="fixedfont"><a href="#Suppressing Warnings"> + SYS-WARNING-OFF</a></span>. Otherwise, realise that your application might fail if + it is <span class="fixedfont"><a href="p-imageman.htm">TURNKEY</a></span>ed.</p> + <hr> <p><b><span class="fixedfont"><font size="4"><a name="Error(9998)">Error(9998)</a>: <name> Windows exception trapped</font></span></b></p> |