xsharp.eu • Text to
Page 1 of 1

Text to

Posted: Wed Jan 10, 2024 10:44 am
by wriedmann
Hi,
I would remember to anyone that X# has added a "text to" command also to other dialects than VFP (even in Core!).
That makes it really easy and readable to write XML/JSON/HTML code to a variable:

Code: Select all

text to cCostPattern
{
  "date": 	"2024-01-10",
  "metric": 	123.4
}
endtext
It is a really great addition and it helps me a lot - my thanks go to the development team!
Wolfgang