Couperin a écrit :
Le 30 Jul 2000, à 21:11, Russ Whitaker a écrit:
Hi
But about the packed type, I found another problem. I can't compile this little program : -------------------------------------------- Program Bug05; Const XValMax : Byte = 125; Type T_XVal = Packed 0..XValMax; Var X : T_XVal = 64; Begin End. -------------------------------------------- Here is the output :
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.952/specs gpc version 20000727, based on 2.95.2 19991024 (release) [...] Bug05.pas:8: constant out of range
??? For me it works ??? I have the same version of the compiler and djgpp -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice.Lombardi@ujf-grenoble.fr