User Tools

Site Tools


ugbasic:user:kw:in
Translations of this page:


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 open an issue for this keyword on GitHub. Thank you!

POWERED BY