Skip to content

The guide, in human order

This page is the map of the whole d/BASIC guide. It is arranged as a course you can read from the top or dip into anywhere, not an alphabetical wall of keywords. By the end of it you will know which chapter answers which question, and every code block in every chapter opens in the playground with one click.

Foundations

Applications and the outside world

Reuse, migration, and delivery

The five ideas worth remembering

  1. Line numbers are welcome, not required. Named labels and structured blocks live in the same source file.
  2. A numeric name without a type is SINGLE. Use a suffix, AS, or DEFINT A-Z when you mean an integer.
  3. Parameters are BYREF by default. Write BYVAL when the procedure you call should get a copy it cannot use to change your variable.
  4. TYPE copies; CLASS shares. Two records are two values; two variables holding one object point at the same thing. This one distinction explains most record and object behavior.
  5. Programs say what they want; each machine supplies it however it can. That is how one program crosses very different machines.

Ready? Run your first program →