Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | MrMonk | |
Old Version | Published before Godot 3 was released. |
what should the result be, for the code below ? thanks !
(edited: the result is True but it should be False, so I don’t understand why is so)
extends Node
var a = false
var b = false
var c = true
var d = true
var e = false
func _ready():
if a or d or c and e :
print (true)
else:
print(false)
pass