Hello Sieghard and others.

Just by curiosity, do you have try the enum program example with Delphi ?
Sadly I dont have delphi installed any more.

Here the test program:

PROGRAM enumtest;

type
    tabulatorkindty =
(tak_none := 1,tak_left,tak_right,tak_centered,tak_decimal);
 
var
  kind: tabulatorkindty;
   
begin
    if kind = tak_none then
    WriteLn('OK it is tak_none')
  else WriteLn('No it is not tak_none') ;

   if kind = tabulatorkindty(0) then
    WriteLn('OK it is 0')
  else WriteLn('No it is not 0') ;
end.

This to compare with fpc result:

$ /home/fred/enumtest
> No it is not tak_none
> OK it is 0 





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


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to