×   Main Menu ALL The 8BS News Manuals (New menu) Links Worth a Look Tools Disc and Basic Webring Site Map 8BS Guestbook Old Guest Book Me The Barnsley Rovers   
8-Bit Software

The BBC and Master Computer Public Domain Library

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