Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:sta}
h2. Name

*sta* — Stack text

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*sta* _text_ 

{panel}

h2. Description
Stack entry for reading or for expansion of dialog text. Will put text into the stack. The stack is always read first in a command dialog or by the command *[rea] ter*. 

h2. Arguments

_text_ 
{indent}Stack text, may also contain variables.{indent}

h2. Examples

h3. Ex.1: Read three points interactively to generate a dataset

{noformat:|borderWidth=1|bgColor=#eeeeee}
        sta 2 4 6         ;# stack first point
        sta 3 2 5         ;# stack second point
        sta 4 5 3         ;# stack third point
        rea ter           ;# read from stack
{noformat}

The above example shows a convenient way to create a little dataset.

h2. See also

[rea|rea - Read data from disk] _ter_, [val - Value setting]
{pagebreak}