OghuzKhan36Li
Member
Hi all,
I'm a MS BC14 user and there is this way of checking for certain values IN a variable
Example:
IF variable IN [0, 5, 12, 50, 16] THEN BEGIN ... END;
I know I can do this with a switch statement but it seems so much trouble just to check for certain numeric values.. and I rather not use the && because it could get really long..
So I was wondering if there was something similar I'm not aware of to the example for game maker?
I'm a MS BC14 user and there is this way of checking for certain values IN a variable
Example:
IF variable IN [0, 5, 12, 50, 16] THEN BEGIN ... END;
I know I can do this with a switch statement but it seems so much trouble just to check for certain numeric values.. and I rather not use the && because it could get really long..
So I was wondering if there was something similar I'm not aware of to the example for game maker?