FMODE
Format: FMODE
Supported by: Quest Super BASIC 1.4
Similar commands: -
FMODE allows assigning values to floating point variables only, both with or without a decimal point. IMODE allows assigning values to both floating point variables and integers BUT floating point variables need to be assigned with a decimal point. These modes only affect assigning values to variables and are depending on variable types as defined by DEFINT. BASIC is either set in IMODE or FMODE.
Note that later versions of Quest Super BASIC (and other BASIC versions described on these pages) do NOT have the IMODE or FMODE commands and assign variables depending on types as defined by DEFINT.
Example:
DEFINT B FMODE
After this he following statements are allowed:
B=10 B=10.5
The following statements are not allowed and will result in error code 869:
A=10 A=10.0