I knew it could be something like that... to avoid this kind of
conflicts, I always use prefix in front of my variables, for example all
parameters start with the letter "p", all variables local to a method start
with "l", all unit variables start with "u" etc... and of course all global
variables start with "g" (not that I use them a lot)

    Besides it's also easy for code completion and searches


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf
Of Brigitte Spatz
Sent: Thursday, October 20, 2005 11:48 AM


D'oh! I knew it could only be something simple. I'd completely forgotten
about that little auto-generated variable. Thanks.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Walter Prins
Sent: 20 October 2005 00:13
To: [email protected]
Subject: Re: [delphi-en] Moving code to another unit

My first reaction is that you must have a duplicate variable named
"frmWizard" somewhere... (do a search through all the files in your
project
for declarations of "frmWizard" and see if you've got any duplicates.  I

presume you've removed the auto-generated frmWizard global variable that

Delphi puts at the top of all form units since you presumably don't use
this
anymore?)  Sorry if this is barking up the wrong tree...

Walter

--
Walter Prins
prins at ananzi dot co dot za
"For every complex problem, there is a solution that is simple, neat,
and
wrong"  - H.L. Mencken




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links








-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]



----------------------------------------------------------------------------
----
YAHOO! GROUPS LINKS

  a..  Visit your group "delphi-en" on the web.

  b..  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


----------------------------------------------------------------------------
----





[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to