Text to

This forum is meant for examples of X# code.

Post Reply
User avatar
Posts: 3655
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Text to

Post by wriedmann »

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
It is a really great addition and it helps me a lot - my thanks go to the development team!
Wolfgang Riedmann
Meran, South Tyrol, Italy
https://www.riedmann.it - https://docs.xsharp.it
Post Reply