Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!jl3p+ From: jl3p+@andrew.cmu.edu (James Ting Lui) Newsgroups: comp.sys.next Subject: pswrap problems Message-ID: Date: 27 Feb 91 23:41:49 GMT Organization: Computer Science, Carnegie Mellon, Pittsburgh, PA Lines: 39 I have been experimenting with pswrap and postscript. My driver application executes the following: printf( "JUNK!\n" ); dojunk(3.14159); and my pswrap code contains: defineps dojunk( float junk ) (***) junk (*** junk ***) pstack clear endps Not too complicated: PI is passed to dojunk() which then puts it on the stack and is printed out on my terminal. When this is run, however, my result is this: JUNK! DPS client library error: PostScript program error, DPSContext 124150 %%[ Error: undefinedresult; OffendingCommand: bin obj seq, type=128, elements=3, size=28 ]%% (*** junk *** ) 3.14159 (***) DPS client library error: Invalid tag in returned object, DPSContext 124150, data 1141552 DPS client library error: Invalid tag in returned object, DPSContext 124150, data 1141092 I don't understand what all the errors are about. Someone please help me on this. Thanks a lot, -- Jim