Hello World!
Thank you for your purchase of the TinkerCo 3250. We hope you think programming is as fun as we do. Let's make 1971 a great year for coding!
TinkerCo 3250 Reference
Thank you for your purchase of the TinkerCo 3250, even in the face of recent lawsuits. We have a constant commitment to quality computers that we hope comes through in our product. We hope you'll find this computer to be blazing fast and free of any alleged spontaneous combustion.
BASIC on the TinkerCo 3250
The TinkerCo 3250 has a built in BASIC parser that will be sure to knock your socks off. Enjoy the following commands, all included free of charge:
PRINT
Print out a string or a variable.
Usage:
PRINT "Hello world!"
VAR
Declare a variable.
Usage:
VAR foo = 6
ADD
Add a number to a variable. The variable will store the new value. This can also be used to add two variables together.
Usage:
ADD variable 20
SUB
Subtract a number from a variable. The variable will store the new value. This can also be used to subtract one variable from another.
Usage:
SUB counter 1
READ
Read a number from the input, and store it in a variable.
Usage:
READ variable
IF
If the condition is true, continue. Otherwise, jump to the next ENDIF. The following operators are supported: <, <=, >, >=. ==.
Usage:
IF x < 4
PRINT "less than four!"
ENDIF
GOTO
Jump to a previously defined label.
Usage:
LABEL:
PRINT "infinite loop"
GOTO LABEL
SAVE
Save a variable to long-term storage. Starts out at zero. The possible locations to save to are 0-9 and A-F.
Usage:
VAR number
SAVE 0 number
LOAD
Load a variable from long-term storage. Starts out at zero. The possible locations to load from are 0-9 and A-F.
Usage:
VAR number
LOAD D number