Date: Thu, 17 Mar 2005 07:44:17 -0800
Reply-To: KennyG <kgkirton@FILCS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: KennyG <kgkirton@FILCS.COM>
Organization: http://groups.google.com
Subject: Re: Loop Counter type thing...
In-Reply-To: <39tkuuF64j05uU1@individual.net>
Content-Type: text/plain; charset="iso-8859-1"
Ok I try to simplify things. Richard you were nerly correct the first
time.
Forget Y cordinate.
X range is massive, but for when;
if x => 0 and x <= 4 then counter = 1;
if x => 5 and x <= 8 then counter = 2;
if x => 9 and x <= 13 then counter = 3;
if x => 13 and x <=17 then counter = 4;
if x => 18 and x <=22 then counter = 1;
if x => 23 and x <=26 then counter = 2;
if x => 27 and x <=30 then counter = 3;
if x => 31 and x <=34 then counter = 4;
AND SO ON........upto 62 negatives goto -63
I can do it by coding like this but it's terrible! Negatives are
puzzling??
:-Z
CHEERS, Sorry I've not been clear I'm usually better then this.