DEFINE

From QB64 Wiki
Revision as of 01:13, 19 January 2010 by imported>Cyperium
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

_DEFINE defines a range of variable names according to their first character as a datatype.


Syntax

_DEFINE range or letter[, range2 or letter2[, range3 or letter3[, ...]]] AS [_UNSIGNED] datatype


Description



Examples

_DEFINE A-C, F AS _UNSIGNED INTEGER


Explanation: Any undefined variables that start with the letters A, B, C or F will now be defined as unsigned integers. Unsigned integers can only use positive values while ordinary integers can also use negative values.



See also


Reference: Mathematical Operations



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By usage
Main WIKI Page