ArborX


attr

Longname: attr ibute   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: var stream mini getvar indirect (n/a) expr show xpath attrloop tokloop prop propval

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.
Example extract

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

 <?show ^[prop th]?>

Syntax (7.80)
attr name:t
name:t

Name of the current elements attribute required

Old

 <?show $^name#>

New

 <?show $^[attr name]>

Document created on 01-Oct-2004 (revision 001)