8-Bit Software

The BBC and Master Computer Public Domain Library

Back to 8BS Or Back to Disassembly


Page Last Altered:

96B4 Get Integer value at PTR B

Submitted by Steve Fewell

Description:

This routine calls the Get value (Keyword, variable, value, open bracket) routine (&AD36)
to obtain the next value on the command line.
If the value is a String, then a Type Mismatch error will be generated.
If this value is a Float then it will be converted to an Integer.
Exit with the Integer value.


Disassembly for the Get Integer Value at PTR B

96B4 6 032 054 173 20 36 AD JSR &AD36 Get Value (Keyword, variable, value, open bracket)
96B7   128 006 80 06 BRA 6 --> &96BF Check if Integer & convert if float or error if String

 


 Back to 8BS
Or