Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IntelliSense
Message
From
04/01/2005 14:55:29
 
 
To
04/01/2005 05:10:20
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00973452
Message ID:
00974179
Views:
11
>>>LOCAL oSQL AS sqlfunction of \libs\sqlfunction.prg
>
>
>But I declare oSql AS PUBLIC at my startup program. Does "LOCAL oSql AS sqlfunction ..." will cause conflict?
>
>
>At my startup main program
>
>.
>.
>.
>PUBLIC oSql
>oSQL = NEWOBJECT('sqlfunction','libs\sqlfunction.prg')
>.
>.
>
>Thanks

If you must keep your public variable, you can surround the alternate definition with IF .F./ENDIF or #IFDEF noexist/#ENDIF so it won't even compile into your code, but will be available for intellisense.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform