This what you're looking for? lights = (red, orange, green);
... var trafficlight: lights; ... for trafficlight := Low(lights) to High(Lights) do ... HTH, Conor -----Original Message----- From: Terry Johnson [mailto:[EMAIL PROTECTED]] Suppose you have an enumeration like ... type lights = (red,orange,green); In Ada, you can write something like for colour:=lights'first to lights'last do ... where lights'first = red, and lights'last=green. Anything like this in Delphi? I've looked, but can't find anything... --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
