Brother International TD-4750TNWB FBPL Command Reference - Page 157
INP, Description, Syntax, Example, See Also
View all Brother International TD-4750TNWB manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 157 highlights
10.25 INP() Description One byte (ASCII value) is received from communication port. Syntax INP(n) Parameter n Description 1 : com1 port in printer Example Sample code DOWNLOAD "TEST.BAS" 152sci=0 str$="" FOR I=1 TO 5 152sci=INP(1) str$=str$+" " +STR$(152sci) OUT 152sci NEXT SIZE 4,0.5 GAP 0,0 CLS TEXT 10,10, "3",0,1,1, "The received data is: "+str$ PRINT 1 EOP TEST 12345 Result See Also INP$() 152
152
10.25 INP()
Description
One byte (ASCII value) is received from communication port.
Syntax
INP(n)
Parameter
Description
n
1
: com1 port in printer
Example
Sample code
DOWNLOAD "TEST.BAS"
152sci=0
str$=""
FOR I=1 TO 5
152sci=INP(1)
str$=str$+" " +STR$(152sci)
OUT 152sci
NEXT
SIZE 4,0.5
GAP 0,0
CLS
TEXT 10,10,
"
3",0,1,1,
"
The received data is: "+str$
PRINT 1
EOP
TEST
12345
Result
See Also
INP$()