Unit name same as exported procedure name not allowed
1 Mar
2006
1 Mar
'06
8:19 a.m.
I have a unit named Head which exports a single procedure also named Head. In the calling program, the compiler (20050331) generates an error, "statement used as expression." The docs don't seem to say anything about a name limitation. Have my previous two Pascals let me get away with something naughty? Of course, renaming either the unit or the procedure fixes the problem. Jerry
7471
Age (days ago)
7471
Last active (days ago)
4 comments
4 participants
participants (4)
-
Adriaan van Os -
Frank Heckenbach -
lanceboyle@qwest.net -
Peter N Lewis