Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing values from PostScript to the 'outside world'

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a need (never mind why- it's too complicated to explain!, and is partly academic anyway) to pass a value from PS to the outside world, ie outside of PS. Let's say we a) have a PS interpreter in our PC, and b) have a value on the operand stack- perhaps the result of a calcualation, and I want to utilise that value outside of PS, perhaps as a command line argument to a VB program.

Anyone got any thoughts on that please? Jim Brown,
Johannesburg,
South Africa.
My time is GMT+2
 
You can store any data into external file by "write", and "writestring" operators.
 
Thanks PS prog... that might do the trick. Now, if only
I could remember why I needed to do that . . . . Jim Brown,
Johannesburg,
South Africa.
My time is GMT+2
 
Hi Jim - there are file i/o operators of course, where you can write to a file. There is also the "=" and "==" operators, which pass items on the stack to stdout.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top