Ultimate Amiga
Network Boards => AMOS Professional Re-Development => AMOS Factory => Feature requests and bug reports => Topic started by: Hungry Horace on December 05, 2012, 07:02:15 PM
-
Program will not compile (run) if too many ELSE IF's iirc.
-
@Hungry Horace
Amos doesn't support the Else If construct, IIRC. You just have to put in enough EndIf statements to close each If.
-
@Hungry Horace
Amos doesn't support the Else If construct, IIRC. You just have to put in enough EndIf statements to close each If.
AMOS Pro supports ELSE IF with only one ENDIF against the initial IF, and I am sure freaks-out if you use too many (i'm talking, 20+ or something, i forget) ... i do use ELSE IF all the time!
I noticed this bug some years ago working on my Bloodwych Editor.
EDIT: just tested and reproduced this bug. The problem only occurs when compiling, not interpreted.... the system GURUs
EDIT 2: amos program attached. this program will compile. un-comment the 51st ELSE IF and it will no longer compile. (locks-up / freezes) .... i had even more added and a full GURU occurred.