Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>defdbl define variable(s) as double precision</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DEFDBL                   Define Variable(s) as Double Precision

 DEFDBL letter[-letter] [,letter [-letter]]...

    Declares one or more variables to be double precision.

   -------------------------------------------------------------------------

      Notes:    All variable names beginning with any of the specified
                letters (case-insensitive) will be double precision,
                unless a type-identifier character (%, !, &, or $) is used
                to override the DEFDBL declaration.

                The DEFDBL declaration must be read by the compiler before
                any statements in which the declared variables are
                assigned or used. The compiler reads from the beginning to
                the end of the source file, without regard for execution
                path. Therefore, you cannot avoid a DEFDBL declaration by
                directing the execution path around it.

                By default, if a variable has not been previously defined
                and does not end with a type identifier (for example, %,
                #), the variable is assigned a type of single precision
                floating point.

See Also: DEFINT DEFLNG DEFSNG DEFSTR

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson