Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Memory
Message
De
14/12/2003 21:08:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/12/2003 21:01:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00858707
Message ID:
00859019
Vues:
22
>Hi Sergey,
> I am working with a file compression routine that will be
>used to compress each file in a backup folder,
>xx = compressit(FILETOSTR("C:\BACKUP\INPUT.BMP")),
>and then copy the compressed file from a MVAR to a file on a floppy disk,
>STRTOFILE(xx, "A:\OUTPUT.BMP"). I want to know if the floppy disk
>will hold the next file. If not, I will prompt for a new floppy.
>Terry :)

len(xx) will give you the length of the character variable, in bytes.

Won't you run into the problem that a single file is bigger than a complete floppy disk? Most compression programs have the option of splitting files among more than one floppy disk. Perhaps you should consider this too - for files that are too big for a single floppy, and for more efficient use of available space, in general.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform