{{htmlmetatags>metatag-robots=() metatag-title=(IN | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for IN) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(IN | ugBASIC User Manual) metatag-og:description=(Manual page for IN) }} ====== ugBASIC User Manual ====== ===== IN ===== ===== SYNTAX ===== = IN(port) ==== PURPOSE ==== This function allows you to receive a byte from an I/O port, provided that the underlying hardware allows it. If it wasn't allowed, the statement will do nothing. ==== EXAMPLE ==== x = IN( &HBC00 ) ==== ABBREVIATION ==== In ==== AVAILABLE ON ==== * Commodore 128 (Zilog Z80) * ColecoVision * Amstrad CPC 664 * MSX * SEGA SC-3000 * SEGA SG-1000 * VG-5000 * ZX Spectrum 48 ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON IN|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]