Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!bkc From: bkc@sun.soe.clarkson.edu (Brad Clements) Newsgroups: comp.lang.postscript Subject: Limitcheck using stringwidth Message-ID: <1207@sun.soe.clarkson.edu> Date: 19 Jul 88 21:48:36 GMT Sender: bkc@sun.soe.clarkson.edu Reply-To: bkc@sun.soe.clarkson.edu (Brad Clements) Organization: Clarkson University, Potsdam, NY Lines: 31 I have a rather complicated PostScript program which uses the stringwidth operator. After a certain number of repititions the operator causes a limitcheck error. I am unable to determine which limit is being exceeded. There are lots of imbedded arrays in memory, but this has worked before. the program loops through the arrays, following them in a tree like fashion and determines the stringwidths of a string, does a moveto and show (within the context of a gsave) then traverses the tree some more. The arrays look something like: /root [ 0 2 3 4 5 (name_root) 2323 23 23 [ [ 0 2 3 4 5 (name_limb1) 23 23 23 [] ] [ 0 2 3 4 5 (name_limb2) 1 1 1 [ [ 1 2 23 4 5 (name_limb2_child) 1 2 2 [] ] ] ] ] def and so on. This has worked for up to 900 such embedded arrays w/o problem. Later I changed the program, adding a part that takes the stringwidth of the names. And now I get a limitcheck. Does anyone have any ideas (other than 'simplify the program') Thanks Brad Clements bkc@omigate.clarkson.edu