Page 1 of 1

Can you make a script in a continuous loop?

PostPosted: Mon Feb 22, 2016 4:31 pm
by VPerrin
Afternoon.

Sorry if this is the wrong area to post this question, but here goes:.

How do I get eValid to run a script in an infinite loop?

Thanks

Re: Can you make a script in a continuous loop?

PostPosted: Tue Feb 23, 2016 9:27 am
by eValid
VPerrin wrote:Afternoon.

Sorry if this is the wrong area to post this question, but here goes:.

How do I get eValid to run a script in an infinite loop?

Thanks


Thanks for asking VPerrin.

A script cannot call itself; that type of error is trapped.

So if you are in "myscript.evs" the command: GotoScript "myscript.evs will FAIL.

No recursion; eValid's script language is NOT a programming language.

But here is a little secret: eValid doesn't attempt to detect loops, so if you are in "myscript.evs" and you execute a command to go to "myotherscript.evs" you CAN have a command in the second script to go back to the first.

Gee, this looks an awful lot like an infinite loop, right?

Well, it is, but don't tell anyone.

This feature was an accident found by our own test people!

-- eValid Support