Subject: | |
From: | |
Reply To: | |
Date: | Wed, 3 Nov 2004 15:09:11 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 *
|
|
|