Hi Erny / Les,

quote:
Don't underestimate the power of KiXtart!

---------------
BREAK ON CLS

$InFile="testin.txt" ; tested size = 909,824
$OutFile="testout.txt"

$Start = 1
$BreakAt = 122

$FileSize=GetFileSize($InFile)

$nul = Open( 1 , $InFile )

DEL $OutFile
$nul = Open( 2 , $OutFile , 5 )

$TestLine=ReadLine( 1 )

while $Start<$FileSize
$nul = writeline( 2 , Substr( $testline , $Start , $BreakAt ) + chr(13) + chr(10) )
$Start = $Start + $BreakAt
loop

Close( 2 )
Close( 1 )
-----------------------

But it is strange... Kix isn't supposed to be able to handle Variables longer than 32,000 bytes...

You can't show the string but you can apperantly edit it with a subst though...

Script above is tested with Kixtart2001 (v4.0.1) on a W2K Workstation.

[ 09 January 2002: Message edited by: DrillSergeant ]

_________________________
The Code is out there