with a TEXT box, i'm able to get 10k chars into the box with something like:

//var %i 1 | while (%i isnum 1-100) { var %a %a $+ $base(%i,10,10,5) $+ $str(x,93) $+ $crlf | inc %i } | did -a mydialog 99 %a | //echo -a $len($did(mydialog,99))

with an EDIT box, it seems there's a limit somewhere around 30,000 data,

From doing something like the next, anything above line 600 gets dropped. For the editbox -a needs the $crlf in order to have the text display as separate lines, but -i doesn't. But when using -i, the $crlf being applied by -i seems to count as part of the data limit.

//var %i 1 | did -r mydialog 99 | while (%i isnum 1-1000) { did -a mydialog 99 $+($base(%i,10,10,5),$str(x,43),$crlf) | inc %i }

Not sure yet whether to call this a bug or not, but when I insert text into line 1, this looks normal up through line 600 when it stops inserting. However when I change the 43 into 45, it stops at an earlier line due to the extra line length, but lines 576 and 577 are joined together without a line-ending between them.

//var %i 1 | did -r mydialog 99 | while (%i isnum 1-1000) { did -i mydialog 99 1 $+($base(%i,10,10,5),$str(x,43)) | inc %i }

In case it matters, it's using control

option dbu
edit "",99,5 5 200 200, multi, hsbar, vsbar, tab num