I have a file txt "level1.txt" type :
001700509573024106800501002700295018009400305652800007465080071000159004908007053
029650178705180600100900500257800309600219005900007046573400021800020453010395000
008203500009670408346050702430010059967005001000496203280034067703500904004107020
800005216045862007670009500769204030020001765001670009004096800907400601306107940
I wish insert all into a array having only one field of 81 space
atest:= { Space(81) }
I made this but it make error
cFile:="level1.txt"
ctext:= Memoread(cFile)
nLinea :=MLCOUNT(cTexto)
for n=1 to nLinea
cLinea:=MEMOLINE(cTexto,81,n)
AADD(atest,ALLTRIM(cLinea))
next
the error
It make error because it count me 1998 lines but the sum of lines are 999
then add other fields to array
I cannot post the file because it contains 82748 characters. The maximum number of allowed characters is 60000 for this forum