83Plus:BCALLs:4351

From WikiTI
Revision as of 17:13, 7 December 2005 by FloppusMaximus (Talk | contribs)

Jump to: navigation, search

Synopsis

Official Name: DelVar

BCALL Address: 4351h

Delete a variable.

Inputs

  • HL points to the VAT entry
  • BDE points to the start of the data

Outputs

None

Destroys

  • All registers

Comments

This routine will refuse to delete archived variables, throwing an error instead.

Example

    ld  hl,name
    ld  de,OP1
    ld  bc,6     ; type (1) + name (4) + zero (1)
    ldir
    B_CALL ChkFindSym
    ret c
    B_CALL DelVar
;...

name:
    .db ProgObj,"name",0