Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter Name to the same object?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00967131
Message ID:
00967139
Vues:
7
Thank you Sergey,

for some strange reason I tried the whole time to put "This" in brackets - SCATTER NAME (This) ADDITIVE - and it didn't work.

Lerner

>Hi Alex,
>
>Try
DEFINE CLASS myclass as custom
>   PROCEDURE Init
>   USE mytable
>   SCATTER NAME This ADDITIVE
>ENDDEFINE
>
>
>>Is it in some way possible to use SCATTER NAME ADDITIVE in a method of an object to add properties to this very object?
>>
>>What I actually want is an object that has some certain properties and loads the rest from a dbf in its INIT - method.
>>
>>Sure, there are other possibilities, but with SCATTER NAME ADDITIVE it would be the most elegant one... Are there any known tricks?
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform