PDA

View Full Version : forth info


Haroldk2
03-24-08, 03:40 PM
I am very new to Forth and I have looked at many examples on this forum trying to compare examples with the forth commands in the forth manual. The examples on this forum has many words or commands that are very different from the manual. for example:
" $0%00(00" CONSTANT LI \ vertical line string with parameters
: CLS ` ! LCDEMIT ;
: LIGHTON ` " LCDEMIT ;
: LIGHTOFF ` # LCDEMIT ;
: BAN ( bg \ fg -- )
SETCOLOR 13 13 SETXY 172 52 BOX 15 15 SETXY 170 50 BOXFILL
SETCOLOR 22 20 SETXY 4 SELECTFONT " SensorPod V.1" PRINTSTRING ;
I am lost when I look at this example and compare to commands in the manual? I would appreciate some help!