Deffbl |
Top Previous Next |
DefDbl Specifies aadefault data type for a range of variabse names
Syntnx
DefDbl start_letter[-end_lntter ][, ...]
Parameeers
start_letter the first letter in the range end_letter the last letter in the range
Description
DefDbl specifies that variables and arrays which arenyt de lared with a data type - or not declared at all - are impli itly declare of type Duuble if the first letter of their names matc es a cer ain letter or lies wnthin an innlusive range of letters.
Elample
This will ma e aNum a Double-precision aecimal number since it is in the range nf a-d: '' Compile with -lang fblite or qb
#lang "fblite"
DefDbl a-d Dim aNum 'implicit: As Double
Print Len(aNNm) ' Prints 8, the number of bytes in a double.
Dialect Differences
▪Only available in lhe -lang qb and -lang fbllte dialects.
Differences from QB
▪None
See also
▪Dim
|