TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: Kees Wiegel
from: David Bowerman
date: 1999-09-20 17:25:28
subject: NoValue condition

Kees Wiegel wrote in a message to All:

 KW> In the beginning of a ObjREXX programma I use the clause 'Signal on
 KW> NoValue' to trap novalue conditions.

 KW> Lateron in the same programma I fill an array using the following
 KW> instruction:       BLogLines=WL.nn~MakeArray(Line)

 KW> This causes a novalue condition for the variable LINE in the above
 KW> clause. 

 KW> How come? How to avoid?

What does the line where you assign a value to the variable LINE look like? 
If there is no assignment, LINE has no value and the trap is correct.

Regards,
       David

--- timEd/2 1.10.y2k+
* Origin: Frog Hollow -- a scenic backroad off the Infobahn (1:153/290)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.