ROPE Language Reference - "ne"

"ne" stands for "Not Equal".

"ne" takes two items from the stack, compares them and pushes back 1 (meaning: true) if they are the different or 0 (meaning: false) if they are the same.

It is an error to compare two values of different types: either both must integers or both must be strings.

lift(4) "HTTP" ne assert

History

The "ne" action was broken in versions before 20050613, and behaved exactly like "eq". Stupid error, I know!

See Also

nei, eq, eqi