The form in expose or procedure that will raise novalue is the
indirect form where the variables to be exposed come from a variable
value.  For example,

test:  procedure expose (vars)

In this case, the variable vars is first exposed, and then its value
is used as a list of variable names to expose.  If that variable does
not have a value, then NOVALUE will be raised.

Having expose suddenly start raising novalue would break a lot of
existing programs, since it would no longer be possible to have a
procedure that sets a variable as a return value without first
assigning that variable a value.

Rick

On Sat, Jun 23, 2012 at 7:57 AM, Uli Zinngrebe <[email protected]> wrote:
>
> Hello Rick
>
>
> thank you very much for responding so fast to my bug report, but I don't
> understand the answer ('Invalid').
>
>
> Reason is the Reference (below) which mentions the EXPOSE keyword for
> raising NOVALUE.
>
> To me it seems that the specs and the interpreter are not in alignment.
>
>
>
> Apologies if I'm overlooking something simple
>
>
> Cheers, Uli
>
>
>
> ***********************************************************************************************
>
>
>
> page 532
>
> ooRexx Reference Version 4.1.0
>
> Chapter 11. Conditions and Condition Traps
>
>
>
> NOVALUE
>
> raised if an uninitialized variable is used as:
>
> •
>
> A term in an expression
>
> •
>
> The name following the VAR subkeyword of a PARSE instruction
>
> •
>
> A variable reference in a parsing template, an EXPOSE instruction, a
> PROCEDURE instruction,
>
> or a DROP instruction
>
> •
>
> A method selection override specifier in a message term
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to