Official Name: CreateCplx
BCALL Address: 430C
Creates a complex variable.
- OP1 = Name of complex variable
- HL points to symbol table entry
- DE points to data section
- OP4 contains the name as inputted in OP1
Only names from A-Z or Theta are allowed. You don't have to set (OP1) to 0Ch. The OS does this for you. (OP1+2) and (OP1+3) must be zero. No checks are made for duplicate/invalid names. If there isn't enough RAM a memory error will be generated.
ld a,'C' B_CALL RealName B_CALL CreateCplx