Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TEXT ENDTEXT question
Message
From
12/01/2009 16:04:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01372948
Message ID:
01372950
Views:
19
This message has been marked as the solution to the initial question of the thread.
>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.
>
Have you tried PRETEXT 7 ?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform