Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recent Examples
#3
Nearly 100% of that information is valid nowadays. I mean, ZX Basic is very much like Sinclair BASIC.
So if you have experience with Sinclair BASIC you should at least start doing simple programs with no hassle.

This is the most comprehensive (Spanish, translated with google translate) tutorial: http://bit.ly/2wro5o8
It's valid still today.

The most important differences with Sinclair Basic are:
  • Every IF sentence must be closed with END IF. E.g. IF a < b THEN GOTO 100: END IF
  • Line numbers are optional (see listing examples)
  • There are other differences. Use --sinclair for maximum compatibility until you're more familiarized.

There are many improvements (Functions, WHILE, DO LOOP...). But for starting this is all you need to know.
Hope this helps. Otherwise, don't hesitate to ask for help.

The wiki samples are simple but shows all of these features. Some functions are not available (ATTR, SCREEN$, POINT) by default if you don't use --sinclair flag.

Also the wiki contains a lot of general information about the language:
https://zxbasic.readthedocs.io/en/docs/syntax/
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)