Supported by: Telmac SBASIC v 24.3
Similar commands: COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 1.4, 5.0 and 6.0, RCA BASIC3 V1.1: DEFINT
This statement (define integer variables) when executed without any variable name sets all variables (A-Z) and all arrays (A (expr) - Z (expr)) as integer. If a variable name is included in the DEFINT statement, all variables and arrays from A up to and including the variable name will be set up as integer and the following variables and arrays as integer. For example,
defines variables and array names A, B, C and D as integer and E to Z as floating point. A NEW statement will always revert all variables to floating point. It is for this reason that, if integer variables are to be used in a program, a DEFINT statement should appear early in the program.
Note also that if a DEFINT is used with no variable name, it must end in a carriage return. That is, a colon may not be used to concatenate any further commands on the same line.