From: "Ray Wurlod" <[EMAIL PROTECTED]>
>
> Try using the SUBR() function, as I mentioned in another post.
>

Ouch.  Granted my function opens a file and [currently, for debug] prints to
the screen, but attempting to call it with SUBR from an I-Descriptor
caused... '25945 Bus error' and left the session unresponsive.

Leaving aside the I-Descriptor issue for a moment...

Is there a way for it a function to "assume" that the last file opened is
the one I want to use?  I thought there might be an @FILE or something, the
way there is @ID and you can have a 'default' file for READ.

http://www.pickwiki.com/cgi-bin/wiki.pl?TreeTraversal

I thought of opening the file in the calling program, and passing a file
handle instead of the filename.  But I need this to work when called
[indirectly] from UOJ also, and historically I've seen 'Error 30102' if I
attempt to pass file handles around in any code called from UOJ.

Advice on how to improve this would be gratefully accepted [see code in Wiki
link above].

While the first one isn't TOO bad... there's a companion function that finds
all of the children of a particular node, and it calls the first function to
look back up the tree for any child that has multiple parents.  In that case
I open the same file over, and over and over.

Thanks,
Wendy Smoak
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to