Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many variables
Message
 
 
À
03/12/2009 14:10:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01436885
Message ID:
01437534
Vues:
47
Tore,

When adir() overflows it's a 1-D array, you need to DIMENSION it back to a 2-D array.

>Actually it seems like I have discovered an anomaly in VFP8. This is how I tested, fast and simple from the command window
>ADir(laDir,'l:\pictures\tme\*.*') && Invalid subscript reference. VFP9 reports 25682
>?ALEN(ladir) && 64951
>?ALEN(ladir,2) && 0 (!!!!)
>?ladir(1,1) && TME_2P30YRR80.jpg
>?ladir(2,1) && TME_2P30YRR80.jpg
>?ladir(3,1) && TME_2P30YRR80.jpg
>?ladir(1,2) && 35810
>?ladir(2,2) && 35810
>?ladir(10000,2) && 35810
>This simple test made me believe that all the array elements were identical. However the debugger showed that they were in deed different...! So the debugger showed me the correct values, but the command window did not.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform