|
From: Leon M. <leo...@gm...> - 2010-08-08 03:17:55
|
Would your just take the old definition of variable (http://amforth.sourceforge.net/words/XT_VARIABLE.html) and replace the 2 with a 4? A more general request: could someone explain how variable works? I understand how it works in the system from Staring FORTH, but not this one. In addition, I have two more specific (and possibly quite newbish) questions. I think some of my confusion is related to HERE. The front page says it points to RAM. In (at least some of) the documentation of all the words (http://amforth.sourceforge.net/words/) it looks like it's pointing to Flash. Which is it? Also, why (CREATE) COMPILE COMPILE instead of CREATE? -Leon On Sat, Aug 7, 2010 at 2:57 PM, pito <pi...@vo...> wrote: > Hi friends, which one is the correct way to define 2variable in > amforth: > > : 2variable here 2 cells allot constant ; > : 2variable create 0 , 0 , ; > > Just to be sure we do not operate within the flash and thus we > destroy it slowly...Pito. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |