On 2/11/06, Gary Monger <[EMAIL PROTECTED]> wrote:
> You could validate the string to make sure it is a valid global reference.
> I'm sure there is a clever pattern match that would serve for most cases.
> If you want to handle variables in the string like "^VA(200,DUZ,0)" you
> might need a loop.
> The error trap is faster to build, easier to prove correct and complete, and
> a better solution.
>

I think that an error trap is the way to go.  It's just a bit awkward
to have to fill one's codes with error traps everywhere.  But perhaps
I could just isolate those places where user input is planed.

The main problem I have run into is when one of the nodes is null,
with GT.M doesn't allow in VistA (I think it is possible to configure
it to allow this!).  Isn't there a command to list out the various
nodes in a reference?

Thanks
Kevin


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to