DEF
Defining a variable of various types.
string
Defining a string and using the variable
Example
DEF test$="kytschBASIC is awesome!"
PRINT test$
Output
<span>kytschBASIC is awesome!</span>
integer
Defining an integer and using the variable
Example
DEF test%=1337
PRINT test%
Output
<span>1337</span>
double
Defining a double and using the variable
Example
DEF test#=1337.11
PRINT test#
Output
<span>1337.11</span>
double to two decimal places
Filtering a double to two decimal places
Example
DEF test#=1337.1337
PRINT test#;2DP
Output
<span>1337.13</span>