TrustedUser
2,147
edits
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 19: | Line 19: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
print("Hello world"); | print("Hello world"); | ||
</ | </syntaxhighlight> | ||
Same but using ability to use #message . | Same but using ability to use #message . | ||
Line 28: | Line 28: | ||
return(); | return(); | ||
#message 1 "Hello world" | #message 1 "Hello world" | ||
</ | </syntaxhighlight> | ||
This time in the #message-part has been put a [[AGIWiki/String|string]]. Note that string s1 has been defined '''before''' using print-command and #message can be also elsewhere within the logic than beneath return-command. | This time in the #message-part has been put a [[AGIWiki/String|string]]. Note that string s1 has been defined '''before''' using print-command and #message can be also elsewhere within the logic than beneath return-command. | ||
Line 38: | Line 38: | ||
return(); | return(); | ||
#message 1 "%s1" | #message 1 "%s1" | ||
</ | </syntaxhighlight> | ||
=== Print.v === | === Print.v === | ||
Line 52: | Line 52: | ||
#message 1 "%s1" | #message 1 "%s1" | ||
#message 2 "Oh hai world" | #message 2 "Oh hai world" | ||
</ | </syntaxhighlight> | ||
=== Print.at === | === Print.at === | ||
Line 63: | Line 63: | ||
return(); | return(); | ||
#message 2 "Oh hai world" | #message 2 "Oh hai world" | ||
</ | </syntaxhighlight> | ||
=== Print.at.v === | === Print.at.v === | ||
Line 89: | Line 89: | ||
return(); | return(); | ||
</ | </syntaxhighlight> | ||
==== AGI Studio ==== | ==== AGI Studio ==== | ||
Line 108: | Line 108: | ||
} | } | ||
return(); | return(); | ||
</ | </syntaxhighlight> | ||
However, it will only print empty, yet right size messagebox. Weird, huh. | However, it will only print empty, yet right size messagebox. Weird, huh. |