Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro Life
Message
From
12/04/2017 08:58:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/04/2017 02:30:23
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01649781
Message ID:
01650067
Views:
92
You are saying:
* Instead of 
LOCAL lnCounter
lnCounter = 0
lnCounter = lnCounter + 1
Messagebox(TRANSFORM(lnCounter))
* it is better to do
LOCAL loCounter AS Counter OF Utils.vcx
loCounter = NEWOBJECT("Counter","Utils.vcx")
loCounter.DoAdd()
Messagebox(loCounter.Value_toString)
really? Why would it ever be better than:
LOCAL lnCounter
lnCounter = 0
lnCounter = m.lnCounter + 1
Messagebox(m.lnCounter)
? I disagree with all my respect.
Ç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