Disable output of Text/EndText to screen???

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
Anonymous

Disable output of Text/EndText to screen???

Post by Anonymous »

What setting will prevent Text/EndText from writing its output to the screen?

I'm sure X# is following some VFP behavior that I have turned off in VFP, and I need to know that to do in X# to turn it off there also??

.

Code: Select all

Local cName = "Matt"
Local cMessage As String
	
Text To cMessage Textmerge 
	
	Name Is <<cName>>
			
Endtext
	
? cMessage

Wait
2019-09-27_10-06-57.png
2019-09-27_10-06-57.png (9.05 KiB) Viewed 325 times
atlopes
Posts: 83
Joined: Sat Sep 07, 2019 11:43 am
Location: Portugal

Disable output of Text/EndText to screen???

Post by atlopes »

Matt, I usually issue TEXT with the NOSHOW clause. Also, a FLAGS 1 will prevent output being sent to whatever _TEXT file might be open.
FoxProMatt

Disable output of Text/EndText to screen???

Post by FoxProMatt »

Grrrr... Indeed, all my FoxPro Text/EndText statements have NoShow in them because my keyboard template adds that automagically. But, when I typed Text/EndText manually in X# sample app, I did not add NoShow. This shows you how dependent we become on snipptet/code templates, and maybe even copy-paste...

Looks like I need to learn how to setup code snippets in VS for my VFP testing...

Regardless, yes, atlopes, NoShow does work in X#
Post Reply