Macros#
goboscript has a C-like preprocessor. This allows you to define macros and include files.
Note
The preprocessor directives start with a %
character. The %
character must
always appear at the start of a line. There cannot be any indentation before the
%
character.
Include#
Include the contents of a file.
The .gs
extension is optional.
Define#
Define a macro. That identifier will be substituted with the subsequent text.
Define with arguments#
Define a macro with arguments. The arguments will be substituted with the tokens from the callsite.