CompuServe Thread

Shape Sizes?

2 messages in this thread
#21981From: LEN MILLERApr 19, 1988 6:15 AM
The following shape definition compiles o.k. But it does not give me the size I need. *133,29,square 2,14,8,(-8,-21),8,(0,21),1,9,(0,-21),(21,0),(0,21),(-21,0),(0,0), 2,8,(27,-21),14,8,(-12,-10),0 So I attempted to divide the vector lengths (3,2,) at the beginning of the definition, then return to original size at end by multiplying by same amount (4,2,), then added 4 to the byte sum parameter at beginning of definition. It does not compile. The message, INVALID SHAPE ELEMENT, OR BAD SYNTAX is supposed to give me a clue but I don't get it! The bad definition looks like this: *133,33,square 2,3,2,14,8,(-8,-21),8,(0,21),1,9,(0,-21),(21,0),(0,21),(-21,0), (0,0), 2,8,(27,-21),14,8,(-12,-10),4,2,0
#22081From: Steve McCall [ADESK]Apr 21, 1988 1:00 PM
Len, I tried those shape definitions and both worked fine for me. The second one produced a square half the size of the first. Perhaps there is a typo or some other wierd, non visible character in your .SHP file. Your message does show a space after (0,0): "(0,0), 2," but I'm assuming that's in your message only, not in your .SHP file. Or is it? =SM=