home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: stdio.clrexxmod 0.1 (18 Jan 1996) **
- **
- ** © 1996 Ralf Ramge
- **
- ** PROGRAMNAME:
- ** stdio.clrexxmod
- **
- ** FUNCTION:
- ** clrexx-Modul für STDIO-Funktionen
- **
- ** Bisherige Funktionen:
- ** CURSORON
- ** CURSOROFF
- **
- ** $HISTORY:
- **
- ** 18 Jan 1996 : 0.1 : initial release
- */
-
- line=upper(arg(1))
- line=translate(line,' ',',')
- procname=word(line,1)
- if words(line)>1 then do
- do argctr=1 to words(line)
- param.argctr=word(line,argctr+1)
- end
- end
-
- ctr=0
-
- /* rexxsupport.library öffnen */
-
- if ~show('L','rexxsupport.library') then do
- if ~addlib('rexxsupport.library',0,-30,0) then exit 10
- end
-
- /* cl_rexx.library öffnen */
-
- if ~show('L','cl_rexx.library') then do
- if ~addlib('cl_rexx.library',0,-30,0) then exit 10
- end
-
- select
- when procname='CURSOROFF' then interpret 'call' procname
- when procname='CURSORON' then interpret 'call' procname
- otherwise nop
- end
-
- exit
-
- /* CURSOROFF
- **
- ** Beschreibung:
- **
- ** Diese Routine schaltet die Darstellung
- ** des Cursors ab.
- */
-
- CURSOROFF:
- call writech STDOUT,'9b'x||'302070'x
- return
-
- /* CURSORON
- **
- ** Beschreibung:
- **
- ** Diese Routine schaltet die Darstellung
- ** des Cursors ein.
- */
-
- CURSORON:
- call writech 'STDOUT','9b'x||'2070'x
- return
-
-