Skip to content

BADZPEEKARG

BADZPEEKARG

BADZPEEKARG, Missing, invalid or surplus xxxx parameter for $ZPEEK()

Run Time Error: One of the parameters specified to $ZPEEK() is incorrect. Possible values of xxxx:

  • mnemonic type - The mnemonic in the first argument is unknown.
  • mnemonic argument - An argument for the given mnemonic (specified after a “:” character) is expected and missing, is present and unexpected, or not in its proper form.
  • mnemonic argument (region name) - Expected a region name argument which is either missing or not available.
  • mnemonic argument (array index) - Expected a numeric array index argument which is either missing or out of range.
  • mnemonic argument (peek base address) - Expected an address in the form 0xHHHHHHHH.. which is either missing or invalid.
  • offset - Expected non-negative numeric value which is either missing or invalid.
  • length - Expected non-negative numeric value which is either missing or invalid.
  • format - Expected a single character format code which is either missing or invalid.

Action: Review the invocation and correct the defective parameter.