Open main menu

Difference between revisions of "AGIWiki/Message"

No change in size ,  07:23, 5 August 2013
fixing link
(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 [[AGIWiki7Interpreter|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.
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 ===
8,014

edits