Page 1 of 1
expression error
Posted: 09 Jun 2018 05:39
by joystickgaming09
Hello, i need help, i wanna make a choice dialog, but it also made on input dialog, I know how to make the expression if the selection was selected, (i type this thing > "value[0] = 1," Or "value[0] = 0"? If yes, let me know) But its Going to FALSE And EXPECTION Connection, How Do I Fix It?
Re: expression error
Posted: 09 Jun 2018 10:48
by Desmanto
Input dialog will stored the result in
value. If you have several choice : apple, banana, cherry. When you pick cherry, value will have the value of "cherry". The expression to check it is
Remember, it is double equal sign (==), not single. if value is cherry, then it will result in true. Any other value, will result in false.
You can't use value[0] here, as value is just a string (text), not a list (object). Using index function to a string will result in error exception, stopping the flow immediately.
Re: expression error
Posted: 09 Jun 2018 12:41
by joystickgaming09
Thank you so much for telling me :3