ZX81 FOR NEXT Sytax Error

Ian McLaughlin ian at platinum.net
Mon Jul 13 01:36:01 CDT 2015


Marco,

All keywords on the ZX81 have to be single keypress-type words - not typed out.

The “TO” in your FOR loop is typed by pressing Shift-4.  Don’t type “T” “O” or you will get a syntax error.

Ian

> On Jul 12, 2015, at 11:21 PM, Marco Rauhut <marco at familie-rauhut.eu> wrote:
> 
> Hello;
> 
> I have here my first Sinclair ZX81 Computer with 16K Ram extension.
> To check if the Ram extension works properly i want to write an small
> Basic program to check each byte.
> The first thing i struggle on is that 1 could not type in a for next statement.
> 10 FOR I = 17000 TO 32768
> if I type in this line, the ZX81 mark an inverted "S" just before "TO".
> 10 FOR I = 17000 "S"TO 32768
> I found out that the ZX81 "think" that there is an Sytax Error with the TO.
> So i tryed all combinations with and without spaces in that basic line....
> Nothing matters.
> Is there someone who knows about that behaviour?
> 
> Marco
> 
> * Englisch - erkannt
> * Englisch
> * Deutsch
> 
> * Englisch
> * Deutsch
> 
> <javascript:void(0);><#>
> 
> 
> ---
> Filter service subscribers can train this email as spam or not-spam here:   http://my.email-as.net/spamham/cgi-bin/learn.pl?messageid=655CAAF2292711E5BBD1739B93ED0201



More information about the cctech mailing list