4/18/2024 1:42 PM | |
Joined: 5/31/2011 Last visit: 2/11/2025 Posts: 190 Rating:
|
Try converting the "value" to a number to make sure it is a number for the "switch" instruction. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number
|
Last edited by: ThaKibosh at: 04/18/2024 13:43:40Last edited by: ThaKibosh at: 04/18/2024 13:44:45 |
|
This contribution was helpful to
1 thankful Users |
4/18/2024 2:14 PM | |
Joined: 4/2/2015 Last visit: 4/2/2025 Posts: 4 Rating:
|
Thanks, yes indeed this was caused by the copy-paste end editing in the code-display. |
4/18/2024 2:15 PM | |
Joined: 4/2/2015 Last visit: 4/2/2025 Posts: 4 Rating:
|
Thanks for this! this worked. Apparently a LInt is not recognized as one in the script editor automatically.
|
This contribution was helpful to
1 thankful Users |
Follow us on