Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IntelliSense
Message
De
04/01/2005 05:14:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/01/2005 05:10:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00973452
Message ID:
00974025
Vues:
18
>>>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

Creating a public variable is not suggested. However for intellisense it's not the local or public part of declaration but " AS sqlfunction of \libs\sqlfunction.prg".

PUBLIC oSql AS "sqlfunction" of "libs\sqlfunction.prg"
oSQL = NEWOBJECT('sqlfunction','libs\sqlfunction.prg')

Now you should benefit from intellisense.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform