Hello Matthias,

Matthias Trute <mtr...@web.de> writes:

>> How about adding a CVARIABLE word to the kernel?
>
> Why include it into the kernel? just simply define it
> yourself.
>
> : cvariable variable -1 allot ;

Implementation is not the issue -- education is (i.e., please be
reminded that the AVR is an 8bit µC).

> btw: i found this file interesting
>
> https://github.com/ayrnieu/forth-garden/blob/master/compat.f
>
> Esp the "uses" word is smart ;)

Yes, let's copy'n paste for all the AmForth-ers to see:

\ Process the rest of line only if FLAG is true.  [IF] .. [THEN] don't
\ exist everywhere, so we use this conditional comment word insted.
: uses ( flag -- )  0= IF POSTPONE \ THEN ;

It would not occur to the "normal brain" (i.e., tainted by years of
other prog languages use) to think of a comment as a programming feature.

Thanks, Regards, Enoch.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to