HP3000-L Archives

November 2004, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
donna garverick <[log in to unmask]>
Reply To:
Date:
Wed, 3 Nov 2004 15:09:11 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
hi everyone!

just a follow-up to this question....

if you're writing a script that is going to call/use/xeq another script
and both scripts are using io redirection, you simply need to
re-reference hpstdin for the calling script when control returns to the
caller.  an easy call to finfo:

        finfo(hpstdin, "fullfname")

will point hpstdin back to the file the calling script is using.

i haven't tested this, but it seems to me that this is not limited to
just two script.  you could have a script...calling a script...calling
a script (and on and on) with each using io redirection.  as long as
you're good about reestablishing hpstdin on *return*, then you should
be fine.

enjoy!          - d

=====
Donna Garverick     Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631        Longs Drug Stores

Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson

>>>MY opinions, not Longs Drug Stores'<<<



__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2