ArborX


getvar

Longname: get var iable   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: var attr stream mini indirect (n/a) expr show xpath attrloop tokloop measure xpointer fs fish fishloop prop propval length lookup resolve string perl lump_expand hash taginfo css char
System Variables 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 'getvar' function provides a generic way to call any getvar, or system variable.
Example extract

The following show string will display the current value of the th command (text height).

 <?show ^[prop th]?>

Syntax (7.80)
getvar getvar:t
getvar:t

The getvar number or name, see System Variables, the sgetvar.3ad 3B2 system file or execute macro wmnx 800.

Show the value for current document path.

 <?show $^[getvar doc.pathname]>

Show the value for current document path using the traditional showstring syntax and getver number.

 <?show $11501v>

Document created on 11-Nov-2004 (revision 1)