In original SuperBASIC some (dubious) programm like

IF a<=b then
   FOR i=a TO b STEP 0.1
ELSE
   FOR i=a TO b STEP -0.1
ENDIF
...
more commands
...
END FOR i

may run without any problem...
But if you try to compile (Turbo or Liberator) some parser error will 
appear...

you have to write something like

FOR i=a TO b STEP sign(b-a)*0.1
...
END FOR i

Give more information, so perhaps someone can help...

GP

------------------------
[EMAIL PROTECTED] wrote:

>  
> In a message dated 23/04/2008 19:59:57 GMT Daylight Time,  
> [EMAIL PROTECTED] writes:
> 
> Are you  sure that every "IF" statement has an "END IF" ?
> 
> Particularly when  nested loops and conditions are coded
> 
> 
> Hi Malcolm,
> I am fairly sure that they do it is one of the first things I looked  for.
>  
> Duncan
> 
> 
> 
>    
> _______________________________________________
> QL-Users Mailing List
> http://www.q-v-d.demon.co.uk/smsqe.htm
> 
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to