kingthrillgore@lemmy.ml to 196@lemmy.blahaj.zone · 10 months agodoes this code run rulelemmy.mlimagemessage-square44fedilinkarrow-up1293arrow-down10
arrow-up1293arrow-down1imagedoes this code run rulelemmy.mlkingthrillgore@lemmy.ml to 196@lemmy.blahaj.zone · 10 months agomessage-square44fedilink
minus-squareDie Martin Die@sh.itjust.workscakelinkfedilinkarrow-up8·10 months agoLua is the same. Only false and nil are “falsey”. I remember I fixed a bug in a mod for Minetest that assumed 0 was false and caused an infinite loop.
Lua is the same. Only
false
andnil
are “falsey”.I remember I fixed a bug in a mod for Minetest that assumed
0
was false and caused an infinite loop.