Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASCAN Syntax
Message
De
19/05/2010 11:44:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01465103
Message ID:
01465115
Vues:
38
Ok you're right.

How about

DIMENSION test(2,2)
test[1,1]=2
test[1,2]=.T.
test[2,1]=3
test[2,2]=.F.
TRY
? test[ASCAN(test,7,1,0,1,8), 2]
CATCH
MESSAGEBOX("its not there")
endtry


Nick

>>Hi Mike
>>
>>DIMENSION test(2,2)
>>test[1,1]=2
>>test[1,2]=.T.
>>test[2,1]=3
>>test[2,2]=.F.
>>
>>? test[ASCAN(test,3,1,0,1,8), 2]
>>
>
>That would work only if you are absolutely sure that this value is presented in the array.
>
>
>try:
>
>DIMENSION test(2,2)
>test[1,1]=2
>test[1,2]=.T.
>test[2,1]=3
>test[2,2]=.F.
>
>? test[ASCAN(test,7,1,0,1,8), 2] && Search 7 instead of 3 :-)
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform