Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!mit-eddie!uw-beaver!milton!wiml From: wiml@milton.u.washington.edu (William Lewis) Newsgroups: comp.sys.next Subject: Re: pswrap problems Message-ID: <17346@milton.u.washington.edu> Date: 28 Feb 91 03:58:23 GMT References: Organization: University of Washington, Seattle Lines: 28 In article jl3p+@andrew.cmu.edu (James Ting Lui) writes: > defineps dojunk( float junk ) > (***) > junk > (*** junk ***) > pstack > clear > endps (leads to) > DPS client library error: PostScript program error, DPSContext 124150 > %%[ Error: undefinedresult; OffendingCommand: bin obj seq, type=128, > elements=3, size=28 ]%% Basically, the trouble is that pswrapped functions aren't supposed to send anything back on stdout. The manual says this somewhere. What's probably happening is that the binary object sequence containing the results of "pstack" are interpreted by the unwary C half of the pswrap as being some sort of return data, causing confusion & wreaking havoc. -- wiml@milton.acs.washington.edu Seattle, Washington (William Lewis) | 47 41' 15" N 122 42' 58" W "Just remember, wherever you go ... you're stuck there."