RE: [U2] [UV] make sure pgm exists before calling it. (Unclassified)

2005-03-17 Thread HENDERSON MIKE, MR
Nearly right! I think it's ITS.THERE = @FALSE CALL !EXIST(SUBRNAME, ITS.THERE) IF ITS.THERE THEN CALL @SUBRNAME( arg1, arg2, . . . ) etc. END ELSE * It doesn't exist END -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles

RE: [U2] [UV] make sure pgm exists before calling it. (Unclassified)

2005-03-17 Thread Stevenson, Charles
Thanks, Mike. Now I remember why I forgot about it. I'm in Pick-flavor and this thing seems to just check to see if the routine is in uv/catdir. We have pick-style cataloguing. I was thinking !EXIST() would resolve the question following the same rules as CALL does for finding a subroutine: