next up previous contents
Next: User defined FUNCTIONs and Up: Programming Help Previous: Arrays and matrices

Data types

   QBASIC supports many built in data types. Use declaration like DIM n AS INTEGER, or append the name by the corresponding marker n%.

These can be combined into more complex user defined data structures through Type declaration.

If variables are not declared, and the name isn't appended with the symbol indicating type, the variables are treated as single precision. This is admissiblegif in small programs where speed and memory aren't of major concern.



Send comment