UniData doesn't have these. It does have @FILENAME which you can use in
a virtual dictionary for the name of the file - you still have to open
the file (like Pick's ACCESS(11) as compared to ACCESS(1)). This appears
to be Wendy's problem - not wanting to reopen the file every time she
goes into the subroutine.

Colin Alfke
Calgary, AB

>-----Original Message-----
>From: gerry-u2ug
>
>@STDFILE
>@FILENAME
>
>-----Original Message-----
>From: colin.alfke
>
>Wendy;
>
>I tend not to use a FUNCTION unless I really need it for the 
>syntax. It helps me to remember that even when calling a 
>function you can change any of the passed variables - not just 
>the return variable (just like a subroutine). For some reason 
>I didn't think a function could do that, I'm not sure if I saw 
>that in the documentation or was just the way I thought it should work.
>
>In any case, I don't know how to give it a "default" file to 
>use. If you call it from UniQuery you have the @ID and @RECORD 
>variables to use but nothing really for a file. What I did - 
>that made a HUGE difference - was to put the filevar into 
>named common. Since the program could be called from multiple 
>accounts I also put the path into common as well.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to