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