TrueFalseRef: Difference between revisions
From MultiCharts
mNo edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Used in function input declaration statements to declare a Passed by Reference true/false input. | Used in function [[input]] declaration statements to declare a ''Passed by Reference'' true/false input. | ||
Declaring an input as Passed by Reference enables the function to modify the values of variables passed as the input. | Declaring an input as Passed by Reference enables the function to modify the values of variables passed as the input. | ||
== Usage == | |||
<syntaxhighlight>Input: InputName(TrueFalseRef)</syntaxhighlight> | |||
Where: | |||
:'''InputName''' - an expression specifying the input name. The name can consist of letters, underscore characters, numbers, and periods. The name ''cannot'' begin with a number or a period and is not case-sensitive. | |||
== Example == | |||
Declare ''Flag'' as a ''Passed by Reference'' true/false function [[input]]: | |||
<syntaxhighlight>Input: Flag(TrueFalseRef);</syntaxhighlight> | |||
[[Category:Declaration]] |
Latest revision as of 06:08, 8 April 2013
Used in function input declaration statements to declare a Passed by Reference true/false input.
Declaring an input as Passed by Reference enables the function to modify the values of variables passed as the input.
Usage
Input: InputName(TrueFalseRef)
Where:
- InputName - an expression specifying the input name. The name can consist of letters, underscore characters, numbers, and periods. The name cannot begin with a number or a period and is not case-sensitive.
Example
Declare Flag as a Passed by Reference true/false function input:
Input: Flag(TrueFalseRef);