Notifications
Clear all

[Closed] How do I get an editbox to display an entire string?

Hey,

I just spent a couple of hours designing a complex function that I could use in any script i’m working on (to monitor the contents of arrays in different ways).
The script works by printing the arrays to a variety of windows (depending on the need), and to my horror I just found that similar to “print”, the strings are cut off (I need to be able to see it all).

What can I do about this?

Note: I have no experience (or knowledge) of either format or stringstream at present (if they are solutions).

4 Replies

this is the one of most asked mxs questions.


with printallelements on do print (...)

for more details search mxs help -> PrintAllElements

1 Reply
(@gumnut)
Joined: 11 months ago

Posts: 0

Thanks Denis but how do I get that to work with an editbox?

I tried these:

edt1.text = with printallelements on do (thearraydetails)
 edt1.text = (with printallelements on do (thearraydetails))
 with printallelements on do (edt1.text = (thearraydetails))

***Also putting “print” prior to each option.

with printallelements on (edt1.text =  thearraydetails as string)

or you have to make the string yourself. but it seems to be a multi-line string…

That did the trick.
Thanks for that