IMODE
Format: IMODE
Supported by: Quest Super BASIC 1.4
Similar commands: -
IMODE allows assigning values to both floating point variables and integers BUT floating point variables need to be assigned with a decimal point. FMODE allows assigning values to floating point variables only, both with or without 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 IMODE
After this he following statements are allowed:
A=10 B=10.5
The following statements are not allowed and will result in error code 869:
A=10.0 B=10