Unless
Jump to navigation
Jump to search
Unless is a derivative of ~ATH.
Tutorial
The simplest possible Unless program
T: ;All unnecessary things
T
This can be changed into anything. If it exists, run the loop marked by it. A tab (Or 4 spaces) is necessary for the start. And, this is the main function. The program terminates after it.
R
Run something. (This can run anything)
N
It is nothing. Example: R: N
;
; is a one-line comment.
Functions
You can make a function. Like this: MYFUNCTION: R: functioncode.c To call it, use it like this: T: :MYFUNCTION : is the calling command.
Objects
You can also make a class by this: CLASS: FUN: R: myfunction.c You can call it like this: T: CLASS:FUN