Enumerated types bug!
Fri, 13 Jun 1997 23:59:17 +0800
WOW, Im on fire... I found another bug. I think this might a known bug.
Enumerated types are not exported in the GPI file. For example:
{---------------------------------------------------------------------}
In TYPES.PAS:
Unit
Types;
Type
TDays = (Monday,Tuesday);
...
In BUG.PAS:
Uses
Types;
Var
TheDay : TDays; { This is OK }
Begin
TheDay := Monday; { Monday is undefined! }
End.
{---------------------------------------------------------------------}
Thanks
________________________
| _) | | e-mail: bernie@icenet.com.au
|___)ernhard |_|schirren ptschirrenb@cc.curtin.edu.au
www: www.geocities.com/CollegePark/Quad/8070/
Bernhard Tschirren (bernie@icenet.com.au)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es