Is the logic behind if and elses on JavaScript the same as Java or are the logic rules different based on how it is used? Just curious, for I'm using else if build ups onto one event.
If and Else question
RPG Maker MV SupportWhat should be different there?
Don't know. That's what I'm asking.
I just know if/elses are decision base. Thus, to use them, one can utilize the multiple options available:
if/else
else if
switch: case
I'm asking because I've had some trouble of late understanding JavaScript, and just want to be prepared.
I just know if/elses are decision base. Thus, to use them, one can utilize the multiple options available:
if/else
else if
switch: case
I'm asking because I've had some trouble of late understanding JavaScript, and just want to be prepared.
I just use them the same as I would in Java. I think there is no difference there, at least I didn't find any.
Original thread: https://forums.rpgmakerweb.com/threads/if-and-else-question.70098/