Record Initialisers GONE WRONG!?!
Fri, 13 Jun 1997 23:59:19 +0800
Hmm, this is very strange!
{---------------------------------------------------}
Type
TRecord = Record
First : Word;
Second : Word;
End;
Var
Single : TRecord Value (10; 1000); { This works OK }
Many : Array[1..2] Of TRecord Value
((10; 1000), { Does NOT compile! }
(10; 1000));
Begin
End.
{---------------------------------------------------}
I am using GPC-970510 for DJGPP 2.01. This might be a known bug since I read
somewhere that arrays are not fully implemented yet.
Cya l8r, and happy debugging :-)
________________________
| _) | | 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