ArborX


mini

Longname: mini script   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: var getvar prop propval length lookup resolve string perl lump_expand hash format_num format_seq 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 'mini' function provides a easy generic way to call mini scripts from within showstrings.
Example extract

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

 <?show ^[prop th]?>

Syntax (7.80)
mini name:t
name:t

The name of any valid mini script.

Call the mini script 'mystuff' using the function variable method.

 <?show $^[mini mystuff]>

Call the mini script 'mystuff' using the traditional showstring syntax method.

 <?show ^"*mystuff">

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