I have programmatically constructed a string, for example
(/r1 [256 782 502] def)
I'd then like to execute the string as PostScript instructions in order to have the array on the stack.
How can I execute a string object?
As commented by Ken, you can call cvx on a string to make it executable, and then call exec on it.
That will execute the contents of the string as PostScript source.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With