Page 1 of 1

Quick Question about "switch" statement

PostPosted: Tue Aug 30, 2011 9:26 pm
by Athistaur
Hello,
in Game-Editor C, is there a limit to the cases? Some C Versions limit it to 256 cases. Is there a limit in GE ?

Thank you,
Athistaur

Re: Quick Question about "switch" statement

PostPosted: Tue Aug 30, 2011 11:09 pm
by skydereign
gE does not have a limit on the number of case statements you have.

Re: Quick Question about "switch" statement

PostPosted: Tue Aug 30, 2011 11:19 pm
by schnellboot
imagine a switch with 1000 cases xD

Re: Quick Question about "switch" statement

PostPosted: Tue Aug 30, 2011 11:30 pm
by skydereign
I just made one, and it worked fine, but it was ridiculous in length.

Re: Quick Question about "switch" statement

PostPosted: Wed Aug 31, 2011 6:52 pm
by Athistaur
Thank you!