Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from with return character
Message
De
16/10/2002 21:22:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00712102
Message ID:
00712131
Vues:
10
>is this command only works for certain version of the vfp?? I am using 5.0 it does not work: dummy = filetostr(test). It tells me that filetostr program does not exist..
>sherry

FileToStr() is a built-in function in VFP 6 or later. Fortunately, it can easily be emulated in earlier versions. Try download #9592.

The purpose of FileToStr() is to convert from a file to a memory variable with a single command.

The purpose of StrToFile() is the opposite: write a variable (actually, any expression) directly to a disk file, with a single command.

HTH, Hilmar.
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