UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | Basic Verbs > msg

msg

Syntax msg (string)

Params string is a string of characters to be displayed.

Action Displays string in Frontier's About Window.

Returns True

Examples msg ("Hello, World!")

   » true

"Hello, World!" is displayed in the About Window.

msg (foo)
Error message is generated because foo has not been defined.

foo = "This one will work";
msg (foo)

   » true

"This one will work" is displayed in the About Window.

msg ('a')

   » true

Frontier coerces the character parameter to a one-character string.

msg ("")
No message is displayed, but subsequent msg calls made by agents will now be accepted. See Notes.

Notes msg is an important Frontier verb; you use it frequently to communicate information to the user of your Frontier applications.

The output from the msg verb is always displayed in Frontier's About Window or status bar.

Messages created by agents are blocked by messages created by other scripts until the user clicks in the About Window. A script can unblock the message area by calling msg with the empty string.

Prev | Next | Basic Verbs > msg

Anonymization by Anonymouse.org ~ Adverts
Anonymouse better ad-free, faster and with encryption?
X