11.06.2014 Views

Word Pro - DALLAS.LWP - The Rexx Language Association

Word Pro - DALLAS.LWP - The Rexx Language Association

Word Pro - DALLAS.LWP - The Rexx Language Association

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

variable pool referenced by #Upper in the pool is considered and this rule applied to that pool. When the<br />

pool with attribute 'not-exposed' is determined the specified value is associated with the specified name.<br />

It also associates the attributes 'not-dropped' and 'not-implicit' . If that attribute was previously<br />

'not-dropped' then the indicator returned is 'R'.<br />

7.1.3 Var_Value<br />

Var_Value(Pool, Name, '0')<br />

<strong>The</strong> function operates on the variable pool with the specified reference. <strong>The</strong> name is a non-tailed name. If<br />

the specified name has the 'exposed' attribute then Var_Value operates on the variable pool referenced<br />

by #Upper in this pool and this rule is applied to that pool. When the pool with attribute 'not-exposed' for<br />

this name is determined the indicator returned is 'D' if the name has 'dropped' associated, 'N' otherwise.<br />

In the former case #Outcome is set equal to Name, in the latter case #Outcome is set to the value most<br />

recently associated with the name by Var_Set.<br />

Var_Value(Pool, Name, '1')<br />

<strong>The</strong> function operates on the variable pool with the specified reference. <strong>The</strong> name is a tailed name. <strong>The</strong><br />

left part of the name, up to and including the first period, is the stem. <strong>The</strong> stem is a non-tailed name. If the<br />

specified stem has the 'exposed' attribute then Var_Value operates on the variable pool referenced by<br />

#Upper in this pool and this rule is applied to that pool. When the pool with attribute 'not-exposed' for the<br />

stem is determined the name is considered in that pool. If the name has the 'exposed' attribute then the<br />

variable pool referenced by #Upper in the pool is considered and this rule applied to that pool. When the<br />

pool with attribute 'not-exposed' is determined the indicator returned is 'D' if the name has 'dropped'<br />

associated, 'N' otherwise. In the former case #Outcome is set equal to Name, in the latter case #Outcome<br />

is set to the value most recently associated with the name by Var_Set.<br />

7.1.4 Var_Drop<br />

Var_Drop(Pool, Name, '0')<br />

<strong>The</strong> function operates on the variable pool with the specified reference. <strong>The</strong> name is a non-tailed name. If<br />

the specified name has the 'exposed' attribute then Var_Drop operates on the variable pool referenced by<br />

#Upper in this pool and this rule is applied to that pool. When the pool with attribute 'not-exposed' for this<br />

name is determined the attribute 'dropped' is associated with the specified name. Also, when the name is<br />

a stem, Var_Drop(Pool,TailedName,'1') is executed for all possible valid tailed names which have Name<br />

as a stem.<br />

Var_Drop(Pool, Name, '1')<br />

<strong>The</strong> function operates on the variable pool with the specified reference. <strong>The</strong> name is a tailed name. <strong>The</strong><br />

left part of the name, up to and including the first period, is the stem. <strong>The</strong> stem is a non-tailed name. If the<br />

specified stem has the 'exposed' attribute then Var_Drop operates on the variable pool referenced by<br />

#Upper in this pool and this rule is applied to that pool. When the pool with attribute 'not-exposed' for the<br />

stem is determined the name is considered in that pool. If the name has the 'exposed' attribute then the<br />

variable pool referenced by #Upper in the pool is considered and this rule applied to that pool. When the<br />

pool with attribute 'not-exposed' is determined the attribute 'dropped' is associated with the specified<br />

name.<br />

7.1.5 Var_Expose<br />

Var_Expose(Pool, Name, '0')<br />

<strong>The</strong> function operates on the variable pool with the specified reference. <strong>The</strong> name is a non-tailed name.<br />

<strong>The</strong> attribute 'exposed' is associated with the specified name. Also, when the name is a stem,<br />

Var_Expose(Pool,TailedName,'1') is executed for all possible valid tailed names which have Name as a<br />

stem.<br />

Var_Expose(Pool, Name, '1')<br />

<strong>The</strong> function operates on the variable pool with the specified reference. <strong>The</strong> name is a tailed name. <strong>The</strong><br />

attribute 'exposed' is associated with the specified name.<br />

7.1.6 Var_Reset<br />

Var_Reset(Pool)<br />

<strong>The</strong> function operates on the variable pool with the specified reference. It establishes the effect of<br />

subsequent API_Next and API_NextVariable functions (see sections nnn and nnn). A Var_Reset is<br />

implied by any API_ operation other than API_Next and API_NextVariable.<br />

7.2 Symbols<br />

For the syntax of a symbol see nnn.<br />

<strong>The</strong> value of a symbol which is a NUMBER or a CONST_SYMBOL which is not a reserved symbol is the<br />

content of the appropriate token.<br />

47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!