ex....
while.......
"here i'm writing "text"
And when I've finished writing ,i whant to exit this loop
whith a commad.....I've tried with "defined F1" ,but
nothing seems to work.
Notice that I store the characters in arrays in the same time.
Can someone help me.
Thanks in advance.
steven.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
: I've done a loop ,writing a text.
: ex....
: while.......
: "here i'm writing "text"
: And when I've finished writing ,i whant to exit this loop
: whith a commad.....I've tried with "defined F1" ,but
: nothing seems to work.
: Notice that I store the characters in arrays in the same time.
:
: Can someone help me.
: Thanks in advance.
: steven.
You answered your own question the command to exit a loop is
break;
Dave
: break;
Or you could fall out of the loop by failing the condition of the while... sometimes this is practical, sometimes it isn't.