ArborX


stream

Longname: stream string   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: var attr mini getvar indirect (n/a) expr xpath attrloop tokloop measure xpointer fs fish fishloop prop propval length lookup resolve string perl lump_expand 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 'stream' function behave in the same way to standard stream creation syntax, it enables you to create and manipulate streams from showstrings or scripts.
Example extract

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

 <?show ^[prop th]?>

Syntax (7.80)
stream string:t
string:t

Any valid showstring.

In a script, create a new stream and show the evaluated content from the showstring into it.

 ^[stream tx1]=^[show $60#para$62#$^mystring $10#]

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