Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining file size
Message
 
 
À
02/06/2005 08:52:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01019302
Message ID:
01019376
Vues:
18
Hi Tore

I have ran my program and it returns nothing. Obviously I am new to this!
Function FileSizeInKB
lParameter cFilename
Local lcCompatible, lnReturn
lcCompatible=Set('compatible')
Set Compatible on
lnReturn=Fsize('U:\questpdm\picture\whatever.jpg')
Set Compatible &lcCompatible
Return lnreturn/1024
How do I check the value in a an IF condition to see if it is greater than or less than 500KB

Thanks Tore
Neil Lewis
IT R&D Manager
Velmore Ltd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform