01.10.2023, 08:13
(This post was last modified: 01.10.2023, 08:15 by Erwin van der Zwart.)
Try with false and true instead of 0 and 1, remove also the log(res,err) as you don’t declare the variables anywhere, as they don’t exist here, the logically return ‘nil’
PS: log(value) will tell you the content of the variable and makes it easier to determine where you should compare it with in your conditions…
PS: log(value) will tell you the content of the variable and makes it easier to determine where you should compare it with in your conditions…