Quick Question about "switch" statement

Non-platform specific questions.

Quick Question about "switch" statement

Postby Athistaur » Tue Aug 30, 2011 9:26 pm

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
Athistaur
 
Posts: 10
Joined: Tue Aug 16, 2011 2:54 pm
Score: 1 Give a positive score

Re: Quick Question about "switch" statement

Postby skydereign » Tue Aug 30, 2011 11:09 pm

gE does not have a limit on the number of case statements you have.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Quick Question about "switch" statement

Postby schnellboot » Tue Aug 30, 2011 11:19 pm

imagine a switch with 1000 cases xD
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Quick Question about "switch" statement

Postby skydereign » Tue Aug 30, 2011 11:30 pm

I just made one, and it worked fine, but it was ridiculous in length.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Quick Question about "switch" statement

Postby Athistaur » Wed Aug 31, 2011 6:52 pm

Thank you!
Athistaur
 
Posts: 10
Joined: Tue Aug 16, 2011 2:54 pm
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest