Available since version: Gideros 2017.10
Macro Constants can be used for string and numeric constants.
Just use @ rather than = when defining the macro.
You can use any of these delimiters after @ but they must be used in pairs. Numbers are auto-detected.
\`~ ! # $ % ^ & * / + = |
Common uses and examples:
num1 @ -100.54
num2 @ 232
num3 @ 444.10
str1 @ 'hello'
str2 @ "world"
str3 @ [[
Commenting out the print command
print @ |--|
print(x, y, z, x + y, y * z) -- this line will be skipped
Methods, events and properties: