ArborX


string

Longname: string   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 perl lump_expand hash taginfo format_num format_seq css char defstr
3B2 Scripting 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 'string' function returns the value of a defined 3B2 system string value if it is defined. Strings assigned to numbers are usualy defined in 3B2 system and menu files but also suser.3ad files.
Example extract

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

 <?show ^[prop th]?>

Syntax (7.80)
string string_num:n
string_num:n

Any valid defined string number.

Returns the value/text/content defined to system string number 390 if it is defined.

 <?show $^[string 390]>

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