8,014
edits
m (→Data types) |
(fixing link) |
||
Line 34: | Line 34: | ||
print("%m2 But he'll be back soon."); | print("%m2 But he'll be back soon."); | ||
</syntax> | </syntax> | ||
The message is stored like this in the logic resource, but when the [[ | The message is stored like this in the logic resource, but when the [[AGIWiki/Interpreter|interpreter]] displays it, it will replace <code>%m2</code> with message 2, so the text "He’s not here. But he’ll be back soon." will be displayed. See [[AGIWiki/Message#Building messages|Building messages]] for more details. | ||
=== Avoiding code duplication === | === Avoiding code duplication === |
edits