Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TEXT ENDTEXT question
Message
 
 
To
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:
01372962
Views:
17
>>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 ?

No, I didn't. But now that I tried it, it is what I was looking for. Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform