Letter is any letter of the alphabet (A-Z, a-z). Upper and lower case are distinguished. Type declaration statements should be at the beginning of a program and must occur before referencing any variables which they declare.
In the absence of both an explicit type declaration character and a default type declaration statement, Basmark QuickBASIC assumes that a variable is single-precision.
10 defdbl t-z 20 defstr m 30 defsng R-U 40 defint k, p-s tally = 1# / 3 : print tally metal = "gold" : print metal k = 10 / 3 : print kproduces
.3333333333333333 gold 3Line 10 declares that all variables beginning with the letters t, u, v, w, x, y or z will be double-precision variables by default. Line 20 causes all variables beginning with the letter m to be string variables by default. Line 30 declares that all upper case variables in the range R through U inclusive will be single-precision. Line 40 declares that all variables beginning with the letters k, p, q, r or s will be integer variables by default.
from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber