ID : 363
In
Function
To assign an I/O variable value to the variable.
Syntax
In variable name = I/O variable name
Guaranteed Entry
Description
Assign a specified I/O type variable value to the designated variable.
Attention
-
Example
'!TITLE "Data I/O from I/O Port"
' Data I/O of I/O port "240"
Sub Sample_In
Dim aaa As Integer
' Assign data of I/O port "240" to aaa
In aaa = IO[240]
' Output data of aaa from I/O port "240"
Out IO[240] = aaa
' Display data of I/O port "240" on the message output window
PrintDbg aaa
End Sub
ID : 363