Tomas Hajny writes:
Note that although having the unit named equally to a function, procedure or a variable defined within the unit (or elsewhere) is not really advisable, it is possible, but you need to take scoping rules into account
Thanks for the note. I wasn't purposedly trying to do it though. Just didn't know it would be a problem.
That's also why the compiler suggested that you should use '.' after DebugPrint.
Aha! The error didn't make sense, but with your explanation now it does. I just changed the unit name. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal