-
Text arrays
Im experimenting with using a string object to display the contents of a text array. Is there a way to format the text as it is being entered into the array object so that the sentences appear in the string object as in the following example ...
[color:#3366FF]Sentence 1.
Sentence 2.
Sentence 3.[/color]
rather than ...
[color:#3366FF]Sentence 1. Sentence 2. Sentence 3.[/color]
I realize that this can be done in other ways, with other objects (writing and formatting it as a paragraph in the string object), but wondered if the text can be inserted into the array object this way.
Oh ... I have been displaying the text using the Alterable string of the string object.
-
Re: Text arrays
I think that if you actually insert the data with "Sentence 1." + newline$ + "Sentence 2." + newline$ + "Sentence 3." into the array object, it'll come out formatted like that in the string.
-
Re: Text arrays
David ... Thank you - that works fine. Apparently Im missing something inthe documentation - I had no idea "newline" existed. Are there more commands like newline shown somewhere within the TGF2 documentation?
-
Re: Text arrays
I'm not sure if there's a list in the Help, but if you go into "Retrieve data from an object" and look under the System object, I think most of the rarer ones are there.
-
Re: Text arrays
Thanks again David ... it is there with others.