Additional language features

Additional elements which are supported by πBasic but not supported by PBasic®


ACTIVATEINFO/DEACTIVATEINFO:

This command activates/deactivates the console output of additional information about the commands at runtime.

image

DEBUG EEPROM:

We added EEPROM as an additional argument to DEBUG (just like DEBUG CR or DEBUG CLS).

It's output is the composition of the EEPROM at runtime.

image

SYMBOL new = NEW 16:

We added the possibility of referencing new variables of a specified size (in bits).

It's not possible to reference variables with more than 16 bits.

image

SYSCLOCK

This is no command but a variable that contains the actual system time (in seconds).

It repeats at 0 after about 18 hours an 12 minutes.

image

BREAKPOINT

This command that loops the evaluation of the user-input until continue (ENTER).

It can evaluate all known commands of the piBasic Interpreter as to create the possibility

of simulating analogue input or debugging.

image

ASSERT expression

If you don't want to check for something by yourself, you can make the program stop if the asserted expression is false.

image