Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IntelliSense
Message
From
04/01/2005 05:14:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/01/2005 05:10:20
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00973452
Message ID:
00974025
Views:
19
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform