Re: [libertybasic] Breaking a loop inside function @ run time?
- On 5/16/2013 9:17 PM, Sarmed wrote:
> Hi All,I believe you have to declare the variable GLOBAL in your main program
> A program has a function, there is a loop inside that function, when the
> program call that function it seems that loop will take a long time, So
> I want to break that loop with cancel button which assign 1 to a
> variable, the loop check that variable, but the variable inside the
> function stay zero.
> How can I pass a value to a variable inside function while it is not
or it won't be seen inside the function.