I'm kind of stuck with something stupid. I'm trying to get an element out of an array, which works fine. but if I use an if else statement with a question mark operator, it changes the variable I wanted to use by the amount which was set were the statement true
for some reason if @menu is not equal to 4, it goes ahead and sets @menu-4(.@a$[@menu-4]). I have no idea why. I tried using getelementofarray instead but it still returns the same issue.
Question
Ajjwidjdneidjenw
Hello Everyone,
I'm kind of stuck with something stupid. I'm trying to get an element out of an array, which works fine. but if I use an if else statement with a question mark operator, it changes the variable I wanted to use by the amount which was set were the statement true
for some reason if @menu is not equal to 4, it goes ahead and sets @menu-4(.@a$[@menu-4]). I have no idea why. I tried using getelementofarray instead but it still returns the same issue.
Cheers!
Edited by garet999Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.