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

 DEFSNG letter[-letter] [,letter [-letter]]...

    Declares one or more variables to be of type single precision.

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

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

                The DEFSNG declaration must be read by the compiler before
                any statements in which the declared variables are
                assigned or used. The compiler reads from beginning to
                end, without regard for execution path.

                You cannot avoid a DEFSNG declaration by direction the
                execution path around it.

                DEFSNG statements do not affect symbolic constants.

See Also: DEFDBL DEFINT DEFSTR

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