![]() |
|
var |
Longname: | var iable | ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released: | 7.80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Created: | 7.80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: | stream mini getvar fish Technote: 0080 |
Summary |
A keyword used with function variables: ^[funcname parameter(s)]. This syntax can be used anywhere that a regular 3B2 variable can be used: in show strings, in scripts, in expressions, etc. Function variables are a V8 feature that uniforms variable use and functions into a readable syntax. The 'var' function provides a generic method for displaying and assigning variable values. |
Example extract |
The following show string will display the current value of the th command (text height).
|
Syntax
|
name:t
|
name:t |
The name of the variable you want to display. |
Show the value of the 'myinfo' variable using a function variable. |
|
Show the value of the 'myinfo' variable traditional showstring method. |
|
Show string 'Arbortext 3B2' into the variable 'myvar' using the funcation variable method. |
|
Show string 'Arbortext 3B2' into the variable 'myvar' using the traditional syntax. |
|
Document created on 11-Nov-2004 (revision 1)