I am trying to write substantial algorithms in postscript and finding
it hard going. There are two questions inherent in this post. First,
how can I solve the problem. Second, rather than just giving me the
answers, is there any decent way of stepping through postscript code
so I can debug it...
I want to write a generic web extraction subroutine in perl. To do so, I want to:
1. find the first pattern (easy)
2. toss everything before it (easy)
3. iteratively find successive occurrences of a patten of interest (easy)
Then comes the hard part. Given an arbitrary pattern containing...
Hello,
I thought I understood stack programming until I tried postscript. I cannot seem to pass parameters to a named function and get back a result, as in the following example (tested on ghostscript) any help?
0 0 1 setrgbcolor
/average {add 2 div} def
newpath
{
50 150 average % this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.