Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPD26 commands being skipped over in Win XP
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01225453
Message ID:
01225708
Views:
27
No, it dosen't work. The TEXT...ENDTEXT command doesn't have any clauses in Fox 2.6. Anything you put after TEXT is treated as a comment. You have to use SET CONSOLE OFF to supress output to the screen. Try
 CLEAR
 lcText = ''
 set textmerge on
 SET CONSOLE OFF
 text to lcText noshow textmerge
     This is a Test
         The current date is <<Date()>>
     And you can see it works.
 endtext
SET CONSOLE ON
 ? "Text:"
 ? lcText, LEN(lcText)
>Why you guys keep saying this, even after I confirmed it works? You guys do not trust me? Want a Screen shot?


>
>

>lcText = ''
>set textmerge on
>
>text to lcText noshow textmerge
>	This is a Test
>	The current date is <<Date()>>
>	And you can see it works.
>endtext
>? lcText
>
>
>Works for me in FoxPro 2.6 DOS
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform