Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: (Bug Discussion) Program will not compile (run) if too many ELSE IF's  (Read 4737 times)

0 Members and 1 Guest are viewing this topic.

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW

Program will not compile (run) if too many ELSE IF's iirc.
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: (Bug Discussion) Program will not compile (run) if too many ELSE IF's
« Reply #1 on: December 05, 2012, 08:09:28 PM »

@Hungry Horace

Amos doesn't support the Else If construct, IIRC.  You just have to put in enough EndIf statements to close each If.
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: (Bug Discussion) Program will not compile (run) if too many ELSE IF's
« Reply #2 on: December 05, 2012, 08:22:25 PM »

@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.
« Last Edit: December 05, 2012, 08:32:37 PM by Hungry Horace »
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022