Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IntelliSense
Message
De
04/01/2005 14:55:29
 
 
À
04/01/2005 05:10:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00973452
Message ID:
00974179
Vues:
10
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform