MC-Basic:INPW

From SoftMC-Wiki
Revision as of 11:38, 11 March 2014 by Nurit (talk | contribs)
Jump to: navigation, search

This command reads the value of a word (16 bits) from the specified I/O space address.

IMPORTANT.svgIMPORTANT
THIS COMMAND IS OBSOLETE

Syntax

Inpw (<address>)

Availability

All versions

Type

The <address> must be a Long expression. The function returns a Long value.

Range

The <address> must be in the range 0x0 to 0xFFFF.

Scope

Task or Terminal

Limitations

Read-Only

Examples

X=inpw (256)                            ‘Read a word and assign its value to variable X

?inpw(256)                                ‘Read a word

See Also