Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pemstatus vs amembers
Message
De
30/11/2010 04:13:05
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
30/11/2010 04:03:35
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01491017
Message ID:
01491041
Vues:
67
Hi Thomas,

beg your pardon, but this example will fail. You can not add a object.property to an other object via aDDProperty.

Anyway I understand your point.

Agnes

>Hi Agnes,
>
>>if yo go for the TYPE instead of PEMSTAT why not VARTYPE?
>
>Tore gave you the main reason. Also, if you plan to use addprop, the variable name is usually
>already in a string, so reusing that string like
>lcProp = "_screen.Height"
>if  TYPE(m.lcProp)=="U"
>   adpproperty(_screen, m.lcProp, 100)
>endif
>makes the code less brittle than typing it with and without " or going other dynamic ways -
>only a slight benefit, but I am prone to "finger stuttering" - see the line inside the if ;-)
>
>regards
>
>thomas
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform