83Plus:BCALLs:516D
From WikiTI
Synopsis
Unofficial Name: IsOneTwoThree
BCALL Address: 516D
Minimum OS Version: 2.30
Checks whether OP1 is the floating point value 1, 2, or 3.
Inputs
- OP1: floating point number to check
Outputs
- OP1=1: 0,(iy+3Fh) and 1,(iy+3Fh) reset
- OP1=2: 0,(iy+3Fh) set and 1,(iy+3Fh) reset
- OP1=3: 0,(iy+3Fh) and 1,(iy+3Fh) set
Registers Destroyed
Comments
This BCALL will throw ERR:DOMAIN if OP1 is not 1, 2, or 3.
This is probably the source of the 84+/SE BASIC setDtFmt( function.