[lazarus] String parameters
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun May 20 06:38:57 EDT 2001
On 2001.05.20 09:47 SVAA wrote:
> Hello:
>
> I've been browsing codetools, I've seen that string parameters are not
> declared as var nor const:
> [...]
> In the first call compiler makes a copy of the string, in the second call it
> is a reference as a var parameter, but doesn't let you modify it . if the
> string is a long string it is a lot of time.
You are right.
I'm currently working on the codetools to get event-editing and automatic class completion. But it is progressing slowly due to lack of time. My current version is unstable and not useful yet, so I did not commit it. I will use more const and var.
Mattias
More information about the Lazarus
mailing list