This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:neq [2013/01/14 19:10] – external edit 127.0.0.1 | crpl:docs:neq [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <- [[crpl: | ||
| ===== neq ===== | ===== neq ===== | ||
| Line 8: | Line 9: | ||
| === Description === | === Description === | ||
| Top two items are popped from the stack and 'Not Equal' comparison is performed. | Top two items are popped from the stack and 'Not Equal' comparison is performed. | ||
| - | 0 or 1 is pushed back to the stack where 1 indicates true. | + | 0 or 1 is pushed back to the stack where 0 indicates false and 1 indicates true. |
| + | |||
| + | See [[crpl: | ||
| === Examples === | === Examples === | ||
| - | < | ||
| + | < | ||
| + | 7 7 neq Trace | ||
| + | |||
| + | #Prints out 1 (True) to the tracelog | ||
| + | 1 2 neq Trace | ||
| + | </ | ||