Difference between revisions of "Display"

From Wiki
Jump to: navigation, search
(See Also)
Line 30: Line 30:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[#dispres]]
+
| [[dispRes|#dispRes]]
 
|}
 
|}
 
----
 
----
 
{|
 
{|
 
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |  
 
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |  
[[Documentation#Flow_Control|Flow Control]]
+
[[Documentation#Miscellanous|Miscellanous]]
 
|}
 
|}

Revision as of 21:08, 13 August 2005

display

Miscellaneous

Synopsis

display {[ok] | [okcancel] | [yesno] | [yesnocancel]} {message}


Description

display The display command displays a standard Windows messagebox with a set of buttons of your choice.

Example

display yesno You have run out of ingots. Do you want to end the script?
if #dispRes = yes
	halt
...

Note: Use $ to create a newline. Example: display ok Test $1$2$3 creates:

Test
1
2
3
[ ok ]

See Also

#dispRes

Main_Page Documentation

Miscellanous