According to the Analyze Project function, .ToText is depreciated. I looked here → String.ToText — Xojo documentation and it states “This item was deprecated in version 2020r2. There is no replacement.” So what does this mean and is there a new means to Writing Data to a file?
Because there is no Text type anymore; it was replaced by the String type years ago. And there is no String.ToString function as strings are already of type String and need no conversion.
X.ToText should be replaced by X if X is a string and by X.ToString in all other cases.
Yes, we know.
I was just trying to explain to Emile why the AutoComplete doesn’t work for OP’s case. There is no autocomplete suggestion for string.ToText because there is no replacement. Showing a Integer.ToText screenshot does not apply here.