GulfOfMexico
GulfOfMexico copied to clipboard
> I wonder if negative equals could be used in declarations
> I wonder if negative equals could be used in declarations
const const name ;= "Bob"! print(name == "Bob")! // false print(name == "Lu")! // maybe
"But be careful, as ;= returns a error. Instead, use ≠, ≠≠, ≠≠≠ and ≠≠≠≠"
So it's
const const name ≠ "Bob"!
print(name == "Bob")! // false
print(name ≠ "Bob")! // true
print(name == "Lu")! // maybe
const const name ≈ "B"!
print(name == "Bob")! //maybe, as Bob has B print(name == "Lu")! //false
Originally posted by @guigui0246 in https://github.com/TodePond/DreamBerd/issues/720#issuecomment-2296536695