-
-
Notifications
You must be signed in to change notification settings - Fork 15
OASMv4
download v4 // v4 contains an oasm compiler that allows you to compile the oasm separately to remove a lot of processing time from each oasm function call
totv int
- define the number of variables to be used in the script (run first)
setv index1 data
- set the variable at the index int
chav index1 index2
- set index1 to index1 + index2
subv index1 index2
- set index1 to index1 - index2
mulv index1 index2
- set index1 to index1 * index2
divv index1 index2
- set index1 to index1 / index2
jump line
- always jump to a line no matter what
gthn index1 index2 line
if the data in the var at index1 is greater than the data in the var at index2, jump to line
lthn index1 index2 line
if the data in the var at index1 is less than the data in the var at index2, jump to line
equl index1 index2 line
if the data in the var at index1 is equal to the data in the var at index2, jump to line
ngth index1 index2 line
if the data in the var at index1 is not greater than the data in the var at index2, jump to line (equivalent to less than or equal)
nlth index1 index2 line
if the data in the var at index1 is not less than the data in the var at index2, jump to line (equivalent to greater than or equal)
prnt index
- print the data in a variable to console
originOS is a web desktop gui with a self contained file system, programming languages, internet system and a whole lot of stuff an os should be able to do Use originOS here