Using UltraEdit v10.0b I get the following results.

7 Columns of 4200 A characters
1 Column of 2600 A characters
for a total of 32,000 characters (0 idx starts the count)

KiXtart v4.12 used for testing.

Modifying code from 31999 to 32000 returns error

quote:
Idx: 31998
Idx: 31999
Idx: 32000Script error: expression too long!
$wri = writeline (1, "$Char" + @CRLF)

Using KiXtart v4.21-RC2 I get the following result

quote:
Idx: 31998
Idx: 31999
Idx: 32000
ERROR : expression too long!
Script: C:\SCRIPTS\test.kix
Line : 14