Code: Select all
procedure procname(var S: string);
Using this construction the warning "source size does not match destination size" when calling a procedure/function can be prevented. It was anyway rather senseless (in my opinion) to provide the max-length information, it was not used further, the strings are always handled as pointers. Great enhancement!
But: I wished I had known this sooner, I could not find anything referring to this parameter possibility in the help explicitely.
Keep up the good work!