home *** CD-ROM | disk | FTP | other *** search
- /* F2.rexx */
-
- LINEFEED='0A'x; TAB='09'x
-
- TEXT1='Public ports found...'||LINEFEED
-
- TEXT2='Press RETURN to close window when finished!'
-
- WINDOW_DEF='con:100/200/400/200/F2 Key... Ports list/close'
-
- if ~Show('L','rexxsupport.library')
-
- then do
-
- call AddLib('rexxsupport.library',0,-30,0)
-
- end
-
- port$=ShowList('P')
-
- call Open(window,WINDOW_DEF)
-
- call Writeln(window,TEXT1)
-
- do i=1 to Words(port$)
-
- call Writeln(window,TAB||Word(port$,i)||LINEFEED)
-
- end
-
- call Writeln(window,TEXT2)
-
- r