Neil Santos a écrit:
Took me a minute to figure out what's causing this output from GPC:
TCollection.epb: In method TCollection.Push': TCollection.epb:106: warning: capitalisation of high' doesn't match TCollection.eph:71: warning: previous capitalisation High' TCollection.epb:106: error: too many arguments to routine TCollection.High' TCollection.epb:88: error: routine declaration
Why is a class method named High() shadowing the built-in high()? What can be done (aside from renaming the method) so built-ins won't be shadowed?
Pascal is case insensitive so high and High are the same identifier Maurice -- 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 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr