Can i compare a string’s or an array’s length to a number with the if statment based on that comparison as a condition?(the argument passed will be myVariable.length for exemple).
Thank you.
yes
but, have you tried? what happens oif you do?
i tried to pass aVariable.length to the parameter of an if statement, I tried the .length on the parameter in an if statement’s parentheses and passed a variable to that parameter later with an invoke: they all worked.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.