btnTestMeClick.Caption;='Click';
The semicolon after Caption should be a colon.
Daniel
Paul Parkyn <[EMAIL PROTECTED]> wrote:
Paul Parkyn <[EMAIL PROTECTED]> wrote:
Hello
There doesn't seem to be a semi colon after the end of the if then else, but most likely you have spotted that
Best regards,
======= At 2006-05-24, 16:38:38 you wrote: =======
>John Meyer wrote:
>> begin
>> if btnTestMeClick.tag=0 then
>> begin
>> btnTestMeClick.Caption:='Click me Again';
>> btnTestMeClick.tag:=1;
>> end else
>> begin
>> btnTestMeClick.Caption;='Click';
>> btnTestMeClick.tag:=0;
>> end
>>
>> end;
>>
>>
>> On the if line, I'm getting this error:
>>
>> unit1.pas(32,6) Error: Wrong number of parameters specified
>>
>>
>> This is copied almost word for word from the wiki tutorial.
>
>What wiki tutorial, can you give a link? Then we have a complete
>compilable source.
>
>Vincent
>
>_________________________________________________________________
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 22/05/2006
>
>.
= = = = = = = = = = = = = = = = = = = =
Paul Parkyn
[EMAIL PROTECTED]
2006-05-24
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.
