home *** CD-ROM | disk | FTP | other *** search
- /*
- * rexx_dos.library
- *
- * Test file...
- */
-
- OPTIONS RESULTS
- lib = 'rexxMOOS.library'; IF ~SHOW('L',lib) THEN CALL ADDLIB(lib,100,-30)
-
-
- /*
- * Phonemes()
- */
- CALL print(4,'#',"Phonemes()")
-
- str = 'MOOS: "The" ARexx library'
- CALL print(20,'-','Phonemes("'str'")')
- SAY Phonemes(str)
-
-
- /*
- * Speak()
- */
- CALL print(4,'#',"Speak(string,options)")
-
- opt = 'rate 100'
- str = "This is Amiga speaking!"
- CALL print(20,'-','Speak("'str'","'opt'")')
- CALL Speak(str,opt)
-
- opt = 'enth 200'
- CALL print(20,'-','Speak("'str'","'opt'")')
- CALL Speak(str,opt)
- SAY "Don't try to read what you've to listen... :-)"
-
-
- /*
- * WBInfo()
- */
- CALL print(4,'#',"WBInfo(pathname)")
-
- CALL print(20,'-','WBInfo("")')
- SAY WBInfo("")
-
-
- /*
- * GetUniqueID()
- */
- CALL print(4,'#',"GetUniqueID()")
-
- CALL print(20,'-','GetUniqueID()')
- SAY GetUniqueID()
-
- CALL print(20,'-','GetUniqueID()')
- SAY GetUniqueID()
-
-
-
- ADDRESS COMMAND 'Wait' 2
-
- SAY
- EXIT 0
-
- print: PROCEDURE
- PARSE ARG pos,char,str
- IF char = '#' THEN SAY '0a0a'x
- SAY COPIES(char,pos) || OVERLAY(" "str" ",COPIES(char,78 - pos))
- RETURN
-