Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find a filename
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00379476
Message ID:
00381495
Vues:
21
>I'd do a couple of things differently from how Jon did:
>
>for i = 67 to 90
>   x = chr(i)
>   if inlist(drivetype(x),3,4)
>      * Make sure the drive is ready (type 4 is either removeable
>        or a network drive)
>      * Put your search code here
>   endif
>endfor
>
>The important thing is to use the CHR() of the variable in the loop.

Yes, thanks. I've just discovered it by myself. :)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform