`prev Menu next`

Difference between Full BASIC and Microsoft BASIC

Operations and variables
Numeric values have no distinction of types.
No numeric variables or numeric constants end with '#','!' or '%'.
There are no statements such as 'DEFDBL' or 'DEFINT'.
An array and a simple variable can not have the same name.
Numeric expression syntax is different.
Full BASIC does not allow expressions such as 'A*-3' or 'A^-2'.
These must be written as 'A*(-3)' or 'A^(-2)'.

Note that ' 2^3^4 ' means ' (2^3)^4 ' while an expression ' 2^-3^4 ' on Microsoft BASIC means ' 2^(-3^4) ' .
Full BASIC does not have MOD operator. To find a remainder, use a supplied function MOD(a,b),
provided that MOD(a,b) and 'a MOD b' coincides only if a and b are non-negative integers.
cf. MOD Detail
Use a LET statement for assignment. 'LET' can not be omitted.
The concatenation operator is not '+' but '&'.
For example, A$ + "s" should be changed to A$ & "s" .