Re: runtime error??

new topic     » goto parent     » topic index » view thread      » older message » newer message

Kat wrote:
> RobC, 
> 
> How is this a runtime error that cannot be caught at "compile" time , using 
> the interpreter?
> 
> Syntax error - expected to see possibly ')', not 'then'
>   if not equal(junk[length(junk)],data[loop] then

It's a compile-time error.
In 2.4 and earlier, the interpreter starts executing 
top-level statements as soon as it sees them, so maybe it 
executed code for a while before moving on and seeing the 
syntax error. In 2.5 the whole program is parsed before 
execution starts.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu