Difference between revisions of "MC-Basic:INPB"
m (1 revision) |
|||
Line 11: | Line 11: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
This command reads the value of a byte at the specified I/O space address. | This command reads the value of a byte at the specified I/O space address. | ||
+ | |||
+ | {{Note/Important| '''THIS COMMAND IS OBSOLETE'''}} | ||
|TYPE= | |TYPE= | ||
Line 38: | Line 40: | ||
* [[Axystems:MC-Basic:INPW|INPW]] | * [[Axystems:MC-Basic:INPW|INPW]] | ||
− | + | [[Category:Axystems:Obsolete|INPB]] | |
}} | }} |
Revision as of 11:39, 11 March 2014
This command reads the value of a byte at the specified I/O space address.
IMPORTANT | |
THIS COMMAND IS OBSOLETE |
Syntax
Inpb (<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=inpb (256) ‘read a byte and assign its value to variable X
?inpb(256) ‘Read a byte