Hello everybody!

We could also make something like this:

type
  TOption = (optNil = -1, optOne, optTwo, optThree);
  TValidOption = optOne..optThree;

var
  o: TOption;
  
begin
  o := optNil;
  for o := Low(TValidOption) to High(TValidOption) do
    ;
end.

Regards.

Roland



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to