Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TEXT ENDTEXT question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01372948
Message ID:
01372955
Vues:
16
>Hi,
>
>How can I make the TEXT .. ENDTEXT work even if the entire block is indented. For example, the following code works:
>
>
>TEXT TO MyFile NOSHOW
><?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
>*-- XSD elementes are here
></xsd:schema>
>ENDTEXT
>
>
>But if I indent the entire TEXT ENDTEXT the code does not work. For example, the following does not work:
>
>
>     TEXT TO MyFile NOSHOW
>     <?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
>     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
>     *-- XSD elementes are here
>    </xsd:schema>
>    ENDTEXT
>
>
>My guess is that I should use an option PRETEXT of FLAG but I can't seem to figure out which one is the correct value.
>
>Thank you in advance for your help.

What didn't work?
That code works for me:
TEXT TO MyFile NOSHOW
     <?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
     *-- XSD elementes are here
    </xsd:schema>
ENDTEXT
MESSAGEBOX(MyFile)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform