Am 2015-11-06 um 18:26 schrieb Ondrej Pokorny: > So yes, let's not use with :) > ... There is no problem with long variable names at all. There are CodeTools :)
CodeTools do not help you *read* the code. I prefer to have this: ----------------------------- with PathArray[High(PathArray)]^ do fillchar(StatisticOfFiles,sizeof(StatisticOfFiles),0); ----------------------------- instead of this: ----------------------------- fillchar(PathArray[High(PathArray)]^.StatisticOfFiles,sizeof(PathArray[High(PathArray)]^.StatisticOfFiles),0); ----------------------------- Also, the problem of the WITH statement is the same as for identifiers declared in other units. Do you also preceed variables from a used unit with the unit name? -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus