83Plus:BCALLs:4363

From WikiTI
Revision as of 18:09, 5 November 2006 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Unofficial Name: IsFixedName

BCALL Address: 4363

This BCALL determines whether a variable's name has a fixed size or is of varying length.

Inputs

  • HL points to VAT entry's type byte

Outputs

  • NZ set if fixed name

Destroys

  • A

Comments

Protected and unprotected programs, groups, and appvars have variable length names, while matrices, strings, pictures, GDBs, etc. have fixed names.

Some lists have fixed names while some do not, and this BCALL handles this by checking the first character of the name. Fixed lists have the byte 24h, 3Ah, or 72h (the tAns token).

This BCALL is used somewhere within DelVar.

Example

 ld hl,sAns
 rst 20h
 B_CALL ChkFindSym
 ret c
 B_CALL IsFixedName
 jr nz,ansIsFixed
sAns:
 DB tVarLst,tAns,0