Difference between revisions of "Command:Call"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 +
{{CMD-DR|Call|Intermediate|Intermediate|Beginner|Intermediate}}
 +
Call <function> [parameters ...]
  
 
== Description ==
 
== Description ==
 +
This command is very similar to [[Command:RunScript|RunScript]].  The only difference is that instead of the name of a script to use the function "main" in, Call uses the name of a function within the current script.
  
 
== Examples ==
 
== Examples ==
 +
*Call MoveTo ${X} ${Y}
  
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]
 
{{Command-Stub}}
 
{{Command-Stub}}
 +
[[Category:LavishScript]]
 +
[[Category:LavishScript Commands]]

Latest revision as of 22:29, 25 May 2005

Syntax

Command Difficulty Rating
Call
Usage Intermediate
Level of Understanding Intermediate
Computer Savvy Beginner
Logic Intermediate

Call <function> [parameters ...]

Description

This command is very similar to RunScript. The only difference is that instead of the name of a script to use the function "main" in, Call uses the name of a function within the current script.

Examples

  • Call MoveTo ${X} ${Y}

See Also