ArborX


lump_expand

Longname: paragraph lump attribute expand   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: var attr stream mini getvar indirect (n/a) expr show xpath attrloop tokloop measure xpointer fs fish fishloop prop propval length lookup resolve string perl hash taginfo format_num format_seq css char 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 'lump_expand' function will expand any paragraph lump attribute into viable processing instructions.
Example extract

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

 <?show ^[prop th]?>

Syntax (7.80)
lump_expand lump:s
lump:s

The lump attribute string you wish to expand. Only viable attributes from the lump will be expanded to PI's.

^[lump_expand lump] expand lump to PIs and show into the stream 'lump_ref'.

 <?show "lump_ref"$^[lump_expand "2,1,2.5,0,2.5,1,0,0,1.2303,0,5;1r0,0,0,0,1,"Red;1""]>

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