Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Star Trek and VFP6
Message
From
01/10/1998 03:25:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/09/1998 16:46:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142566
Message ID:
00142705
Views:
36
>Since this is September 30, I guess this will be my last frivolous post...but.....
>
>I was thinking that in VFP6, with Access events, we trekkies can now have Mr. Spock at our sides during application development.
>
>Create a new custom class named "Vulcan".
>Create a property called "Opinion". Default it to blank.
>Create a collection (array property) called "Favorites".
>Create a method called "Opinion_Access".
>
>In the Init of the class, fill the Favorites collection with as many Spock-isms as you can recall; ie, "Fascinating","Highly Logical", etc...
>
>In the Opinion_Access method put a RANDOM and randomly set the property of Opinion to one of the Favorites collection entry.
>
>Then, you can do the following from the Command Window:
>
>Spock=CREATEOBJECT("Vulcan")
>?Spock.Opinion
>
>(A Spock saying is randomly returned) Cool, huh?
Yeah John,
But what about other problems that would arise.
-Spock never guesses nor rand()s (nor lies) just says the truth
-How would you convert stardate to datetime format ?
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