Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this variable an array?
Message
De
07/04/2009 17:02:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01393705
Message ID:
01393712
Vues:
79
Sergey --

Well, yes, of course --- but something went wrong in sending me original message. You may note that the version
header says 9.1, but I refer to 8 in the actual message.

Well, I set the version to 8.1 when creating the message, and the setting disappeared.

So, let me try again --- I'll try resending using version 8 in the header.



>VFP9 only
>
>TYPE("myarray",1) = "A"
>
>
>
>>A question about determining whether a variable is an array: From the Help file: (version 8, not 9!)
>>
>>You can also use the TYPE( ) function to check if a memory variable is an array. For example:
>>? TYPE("myarray[1]")#"U"

>>
>>This apparently works as well for properties. Except for one special counter-example - native properties:
>>
>>Guesses on the results from the following?
>>
?Type("loForm.visible(1)")
>>?Type("loForm.visible(0)")
>>
>>Is there some other consistent method for determining whether a property is an array?
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform