[fpc-pascal] C-->Pas translation question

Henry Vermaak henry.vermaak at gmail.com
Tue Sep 8 10:34:59 CEST 2009


2009/9/8 yu ping <spingyu at gmail.com>:
> how to translate following C code to pascal?
>
> enum{IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE};

type
  TMyEnum = (IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE);

Henry



More information about the fpc-pascal mailing list