kytschBASIC

Put down that phone!
Please view me on real computer.

LET

Defining a variable of various types.

string

Defining a string and using the variable

Example

LET test$="kytschBASIC is awesome!"
PRINT test$

Source

<span>kytschBASIC is awesome!</span>

integer

Defining an integer and using the variable

Example

LET test%=1337
PRINT test%
LET test=7331
PRINT test

Source

<span>1337</span>
<span>7331</span>

double

Defining a double and using the variable

Example

LET test#=1337.11
PRINT test#

Source

<span>1337.11</span>

double to two decimal places

Filtering a double to two decimal places

Example

LET test#=1337.1337
PRINT test#;2DP

Source

<span>1337.13</span>