Nexarius 18 Posted July 20, 2017 Share Posted July 20, 2017 I've tried this here and I'm getting a really strange result. Why is it printing nil? As far as I understand this it should be printing true false b Quote Link to post Share on other sites
1 Solution Molinko 43 Posted July 20, 2017 Solution Share Posted July 20, 2017 The or keyword is binary and can only work on two variables. Each function you have is returning multiple values and only the first of each are being used and assigned. Quote Link to post Share on other sites
0 Nexarius 18 Posted July 21, 2017 Author Share Posted July 21, 2017 Oh that makes sense. Thanks Quote Link to post Share on other sites
I've tried this here
and I'm getting a really strange result.
Why is it printing nil?
As far as I understand this it should be printing
true false b
Link to post
Share on other sites