Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid subscript reference
Message
 
 
À
30/11/2006 15:25:58
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173721
Message ID:
01173864
Vues:
12
>>>>Anyway, looks like I have to use a different approach. I don't really want to use FileScriptingObject because it could be slower and I'm not sure it allows to specify a mask.
>>>>
>>>>Do you or somebody have a suggestion for me?
>>>
>>>Couldn't you use sys(2000)? It allows mask...
>>
>>I've tried ?sys(2000,"t:\jpg\*g*.*") and it returned 654.jpg, which is wrong.
>
>You shouldn't use "*" like that
>
>you did *g*.* it brings all files
>
>you can:
>
>?sys(2000,"t:\jpg\*g.jpg")
>
>or
>
>?sys(2000,"t:\jpg\*g??.jpg")
>
>or
>
>?sys(2000,"t:\jpg\*g.*")
>
>or
>
>?sys(2000,"t:\jpg\g*.*")

What about sys(2000,"t:\jpg\*g*.jpg") ??

E.g. can I specify mask as part of the filename portion for file whith known extension? I don't know how many letters are preceeding, I just know that I may want

55g55.jpg
or 5g5.jpg
or g78.jpg
or gsss.jpg, e.g. the file name portion should contain my mask.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform