Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TEXT command issue
Message
 
 
À
06/06/2005 20:02:47
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01020698
Message ID:
01020723
Vues:
22
Mike,

Try
TEXT TO lcSvg TEXTMERGE NOSHOW PRETEXT 5 FLAGS 1
<?xml version="1.0" standalone="yes"?>
.
blah
blah
blah
.
ENDTEXT
STRTOFILE(lcSVG, lcSVGFile)
>I have the following code that tries to output text to a file:
>
>
>STORE FCREATE(lcSVGFile) TO _TEXT
>SET TEXTMERGE ON NOSHOW
>TEXT PRETEXT 1+4
><?xml version="1.0" standalone="yes"?>
>.
>blah
>blah
>blah
>.
>ENDTEXT
>=FCLOSE(_TEXT)
>
>
>The problem that I have is that the first line in the output file is always blank! The line starting with "...xml verison=..." is always line 2. How do I get it to be line 1, i.e. how do I eliminate the leading blank line. I've tried PRETEXT 1+2+4 too and it does not work.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform