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$

Output

kytschBASIC is awesome!

integer

Defining an integer and using the variable

Example

LET test%=1337

PRINT test%

Output

1337

double

Defining a double and using the variable

Example

LET test#=1337.11

PRINT test#

Output

1337.11

double to two decimal places

Filtering a double to two decimal places

Example

LET test#=TWODP(1337.1337)



REM or do it on the PRINT

PRINT TWODP(test#)



PRINT test#

Output

1337.13