Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A New Creation
Message
From
17/01/2003 22:50:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
A New Creation
Miscellaneous
Thread ID:
00743090
Message ID:
00743090
Views:
63
I have a habit of using code like this:

oMyObj = CreateObject("CoolClass")

when I want to instantiate a class. However I have been seeing code snippets that are more like:

oMyObj = NewObject("CoolClass")

When should I be using each?

Also, How do you all make your code look like code in your posts?
Carole Shaw
Fred Hutchinson Cancer Research Center

Eagles may soar, but weasels don't get sucked into jet engines.
Next
Reply
Map
View

Click here to load this message in the networking platform