Quote:

String manipulation is your problem. So long as you don't try to do anything to the string you should be ok.

Try this:
Code:
$TLine = ReadLine(1)

If Len($TLine) > 32000
"More then 32000 characters" ?
$TLine ?
EndIf

$Rc = WriteLine(9,$TLine)
$Rc = WriteLine(9,@CRLF)






Actually, you can work with string that have a length greater than 32000, just cant display them as is to the console window.

Code:

break on
$string = ""
do
$string = $string + "........"
? len($string)
until len($string) = 32000
do
$string = $string + ",,,,,,,,"
? len($string)
until Len($string) = (32000*2)

? "$$string at 1 = " + substr($string,1,1)
? "$$string at 32000 = " + substr($string,32000,1)
? "$$string at 32001 = " + substr($string,32001,1)
? "$$string at 64000 = " + substr($string,64000,1)



You will need to break up that long string to be able to display it.

And after closer look.... it seems that you can not display a string if its LEN is greater than 30704....