
-----------------------------------
macaboo
Mon May 10, 2004 8:04 am

How to seperate strings that are over 255 characters?
-----------------------------------
please help, i am getting the error message that my "Input string too large for string variable" so i need to know how to separate the strings if they are 255 characters long into multiple characters. please help

-----------------------------------
Tony
Mon May 10, 2004 8:33 am


-----------------------------------

var cArray : flexible array 0..0 of char
var c:string(1)
loop
getch(c)
exit when ord(c) = 10 %exit when user presses enter
new cArray, upper(cArray)+1
cArray(upper(cArray)):=c
end loop

put "string is ", upper(cArray), " characters long"
for i:1..upper(cArray)
put cArray(i)..
end for


eh... I hope that works :?
