Category : Files from Magazines
Archive   : VOL11N21.ZIP
Filename : MONO.PRG

 
Output of file : MONO.PRG contained in archive : VOL11N21.ZIP
***********************************************************************
* PROCEDURE MonoMsg - - Write an expression to the mono monitor
* followed by a linefeed
***********************************************************************
PROCEDURE MonoMsg
PARAMETERS m1, m2, m3, m4, m5, m6, m7, m8, m9, m10
PRIVATE nHandle
nHandle = FOPEN("aux", 11) && Open write only, unbuffered
FOR x = 1 to PARAMETERS()
msg = "m" + ALLTRIM(STR(x))
=FPUTS(nHandle, EVAL(msg))
ENDFOR
=FCLOSE(nHandle)
RETURN

***********************************************************************
* PROCEDURE TMonoMsg - - Write a timestamped expression to the mono
* monitor followed by a linefeed
***********************************************************************
PROCEDURE TMonoMsg
PARAMETERS m1, m2, m3, m4, m5, m6, m7, m8, m9, m10
PRIVATE nHandle
nHandle = FOPEN("aux", 11) && Open write only, unbuffered
FOR x = 1 to PARAMETERS()
=FWRITE(nHandle, TIME()+" ")
msg = "m" + ALLTRIM(STR(x))
=FPUTS(nHandle, EVAL(msg))
ENDFOR
=FCLOSE(nHandle)
RETURN

***********************************************************************
* PROCEDURE SMonoMsg - Write an expression to the mono monitor.
***********************************************************************
PROCEDURE SMonoMsg
PARAMETERS m1, m2, m3, m4, m5, m6, m7, m8, m9, m10
PRIVATE nHandle
nHandle = FOPEN("aux", 11) && Open write only, unbuffered
FOR x = 1 to PARAMETERS()
msg = "m" + ALLTRIM(STR(x))
=FWRITE(nHandle, EVAL(msg))
ENDFOR
=FCLOSE(nHandle)
RETURN


  3 Responses to “Category : Files from Magazines
Archive   : VOL11N21.ZIP
Filename : MONO.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/