The message statement assumes that the string "/n" indicates a new
paragraph. You can use the following coding to insert "\n" for all new
paragraphs:
// Use a textbox for testing only:
TextBox (10,1)
(20,80) name=t1
Set
V[i]
1
Set V[s]
""
label copyline
CopyText
fromText=t1 toString=s1 line="&V[i]"
if
Q[ok]
Set
V[s]
"&V[s]&V[s1]\n" // append line + carriage return
Set
V[i]
"&V[i]"
+ 1
goto
copyline
endif
Message
"&V[s]"
|