entryCharacterLimit property

int entryCharacterLimit

Gets the character limit (length) that should be used to scan for entries.

Versions 1-3 = 6 z characters max Versions 4+ = 9 z characters max

Word in dictionary may be less than max, in which case it's padded with 5s.

Specification Reference

13.3

Implementation

int get entryCharacterLimit {
  if (Z.engine.version == zMachineVersions.v1 ||
      Z.engine.version == zMachineVersions.v2 ||
      Z.engine.version == zMachineVersions.v3) {
    return 6;
  } else {
    return 9;
  }
}