What is test_array?

The Z-machine standard (1.1) has the following entry in the dictionary of opcodes:

“test_array”
See clear_flag. (ITF implements this as unconditionally false.)

Unfortunately, there’s no entry for clear_flag either.

What is this opcode? Is it a relic from an earlier version?

1 Like

The answer is found in the 1.0 standard which was deleted from 1.1:


“clear_flag”

A name once used for one of the not-really-present extended Version 5 opcodes (now removed from the specification).