364 B
364 B
Fa macros
Fa macros are pieces of code that get substituted at compile time
You can define a macro like this:
macro <name>
<code>
end
The indentation is optional but nice for human radability
To expand a macro just type this:
%<name>
Example:
macro exit 60 sys 4 pop end
1 %exit
This program exits with a supplied code