Hi, Maybe it is not a correct list, but I am going to ask my question anyway :)
Is there a penalty for calling SetLength if array already has the length we need? And if there is a penalty - is there a way to write "generic" function SmartSetLength(array,length) that will only call SetLength if necessary? I hope other people find these questions interesting enough :) Thanks, Gena -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus