Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added heading row

...

To comment out multiple lines, precede each of them with REM or apostrophe. To "block comment" big chunks of text, consider using conditional compilation.

...

A type declaration character may be used at the end of either a variable or a literal to fix its type. Variables with the same identifier but separate types are separate variables. For example, a, a$, and a% are all different variables.

Character

Type

Examples

Notes

$

String

A$, STR$

 

%

Integer

A%, SUM%, 125%

 

!

Float

A!, value!, 125!

 Single-precision
#

Double

A#, distance#, 125#

 Double-precision
&LongIntegerA&, ID& This is available in firmware 7.0 or later.

...