Skip to content

Function

Enrico Agostini edited this page Nov 2, 2023 · 1 revision

///{[name]
[code]
}/// - Since R1

Tired of repetitive tasks? Use the functions to paste a specific code over and over (Function arguments coming soon)
Functions are like multiline constants

Example:

Source

///,constant="constant content"

///{helloworld
print "hello world"
}///

///{constinfunc
print ///constant///
}///


rem to use a function, just use it the same way you would use a constant
///helloworld///
///constinfunc///

Compiled

10 print "hello world"
20 print "constant content"

Clone this wiki locally