> Sorry... UniData 6.0 here.
> 
> The manual doesn't list READV as one of the things that sets STATUS() or
> @SYSTEM.RETURN.CODE, and in my case I need to distinguish between the
> receiving variable being "" because there was really nothing in the
> field vs. the 'ELSE' condition where it just couldn't be read.
> 
READV variable FROM filevariable, keyvalue, fieldnumber
THEN
   * if variable = "" then keyvalue was found and it's really "" in the record
END ELSE
   * variable = "" because keyvalue not found
END

> It's just strange that STATUS() _does_ get set for all the other
> versions of READ (READU, etc.)  Any insight on why it's missing for
> READV?

Just one of those things that make programming more of an art than a science.
If everything were consistent you wouldn't need programmers!
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to