Amstrad Action December 1989 Type-Ins

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search

The following listings were published in the December 1989 issue of Amstrad Action:


  • Nim II (Mark Walker)
  • Eval (Seg Gorham) NB 464 only
  • Wavy (David Hooper)
  • Superbasic (George McIntosh)


  • Eval provides an RSX that's relocateable to anywhere in the central 32K memory (eg: &4000). This routine works by taking an mathematical expression from a String and assign to the variable expressed within the string. The routine is 464 only as it's using Direct Addressing from the Firmware 1.0. AA unfortunately didn't provide a clear example of how EVAL works, so here's one I came up with:
x=0:a$="x=x+1":WHILE x<10:PRINT x;:|EVAL,@a$:WEND

Unfortunately, I don't know what advantage it has when compared with this code:

x=0:WHILE x<10:PRINT x:x=x+1:WEND
  • Wavy is for DMP2000 printers