home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
db22re.zip
/
CURPOS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-03-09
|
1KB
|
37 lines
/*
┌──────────────────────────────────────────────────────────────────┐
│ Name : curpos.cmd │
│ Purpose : experiment with REXXUTILS functions │
│ Platform : DB2/2 │
│ Author : Jeff Fisher │
│ IBM Toronto Development Lab │
│ Disclaimer : This "sample" code is for demonstrations only, no │
│ warrenties are made or implied as to correct │
│ function. You should carefully test this code in │
│ your own environment before using it. │
│ │
└──────────────────────────────────────────────────────────────────┘
*/
call RxFuncAdd 'SysLoadFuncs','RexxUtil','SysLoadFuncs'
call SysLoadFuncs
tryit:
call SysCls
say 'whats up doc?'
row = 0
col = 14
pos = SysCurPos(row,col)
key = SysGetKey()
row = 1
col = 0
pos = SysCurPos(row,col)
say 'key pressed is = ' key
exit