Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : BUSOPP.ZIP
Filename : PC.PRG

 
Output of file : PC.PRG contained in archive : BUSOPP.ZIP
*COPYRIGHT 1987 T. P. STARK
**PC.PRG
**JANUARY 27, 1987
**PROGRAM TO PRINT PERCENT OF BUSOPPS THAT ARE LATE
USE BUSOPP INDEX BUSOPP
SET TALK OFF
STORE 0 TO GOOD
STORE 0 TO OLD
STORE 0 TO ALL
GOTO TOP
STORE HOUSEREP TO WHO
EJECT
DO WHILE .NOT. EOF()
DO WHILE HOUSEREP=WHO
IF DEAD <> " "
SKIP
LOOP
ENDIF
STORE ALL+1 TO ALL
IF FOLLOW_DT < DATE()
STORE OLD+1 TO OLD
ENDIF
SKIP
LOOP
ENDDO
?WHO
?OLD
?ALL
?OLD/ALL*100
SET PRINT ON
?
?
? WHO+" YOU NOW HAVE "+STR(ALL)+" BUSINESS OPPORTUNITIES"
?
? STR(OLD)+" SHOULD HAVE BEEN FOLLOWED UP BY NOW"
?
? STR(OLD/ALL*100)+" PERCENT ARE LATE!"
?
?
SET PRINT OFF
STORE 0 TO ALL
STORE 0 TO OLD
STORE HOUSEREP TO WHO
ENDDO
EJECT
USE
RETURN


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : BUSOPP.ZIP
Filename : PC.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/