PC Logo Wiki
Advertisement

Syntax

object = object

Explanation

= outputs TRUE if its two inputs are equal. Its inputs may be numbers, words, or lists. = can also be used as a prefix operation with two inputs.

Example

? 6 = 6

Result: TRUE

? 6 = 66

Result: FALSE

? "AZURE = "AZURE

Result = TRUE

? [SPRING GREEN] = [SPRING GREEN]

Result: TRUE

?

Note that if one input is a word and the other input is a list, they are not equal even if their contents are the same.

? "AZURE = [AZURE]

Result = FALSE

?

Advertisement