Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope in VFP
Message
De
31/07/2006 13:34:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
31/07/2006 13:26:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01141152
Message ID:
01141875
Vues:
14
I didn't mean I invented it. When I needed it and didn't know if one already existed or not it was the solution I came up with (maybe reinvented the wheel, I don't know - VFP3-5 days:).
I didn't use the line object or any other object because:
1) All objects (except new empty) have some properties/events/methods of their own built-in. Using one of them I would need to make sure I don't inadvertently name one of my parameters to be same as one of the built in PEM (ie: I might want to use 'Left' as a parameter name and maybe with a different datatype). Name clas I mean.
2) In days I started to use it there weren't a method to add a property (neither addproperty method nor function and even addprop.fll weren't around then). Historical reasons IOW - I was happy to see 'empty' were at last there:)
Cetin


>Cetin, i learn things new every day. i didn't know you "invented" it.
>
>every time i see code, i have to familiarize myself with what's going on. I'm sure most people here would understand exactly what you've done here, but not me. Now that I've "experimented" a little, i see. For example, I have never used scatter, although i've seen it used a lot. Therefore, i didn't know what "scatter name" or what "blank" means. Once i figured it out, in that the "name" creates an object, and the "blank" makes it have empty properties (just like createobject("empty")), i thought that this simple code was pretty cool.
>
>Why didn't you simply use the "line" object? i know it does have some properties but i thought it was often used before "empty" came about (at least the official MS version of "empty") :-)
>
>Paul
Ç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