TVM&OBJECT
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
TVM&OBJECT is an esolang made by User:↑.
Commands
TVM [X] ON [Y]?- If conditionOBJECT CREATE [X] CONTAINING [Y]- Creates an object called X with contents Y.INCREASE [X] BY [Y]- Self explanatoryDIVIDE [X] BY [Y]- Self explanatory tooTVM JUMP TO [X]- Jumps to line X.USER KEYWORD- Stores input in USER KEYWORD.SAY [X]- Prints X.
Examples
Hello, World!
OBJECT CREATE HELLO CONTAINING "Hello, World!" SAY HELLO
Truth machine
OBJECT CREATE A CONTAINING USER KEYWORD
TVM > 0 ON A?
SAY A
TVM JUMP TO 2
TVM ELSE
SAY 0