home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / F / FN_SCBC.ZIP / WEEKTOP.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1995-09-02  |  1KB  |  85 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.  
  21. ;------------------------------------------------------------------------------
  22.  
  23.     If (Dow(Date()) <> 1) Delete PPEPath() + "week.tmp"
  24.     If ((Dow(Date()) == 1) && !Exist(PPEPath() + "week.tmp")) Then
  25.         FCreate 1, PPEPath() + "week.tmp", 2, 3
  26.         FPutLn 1, "This file should not be removed manually!"
  27.         Shell 1, INTEGER001, PPEPath() + "wtopup.exe", String(ToInt(ReadLine(PPEPath() + "weektop.cfg", 2))) + " -S"
  28.         Message ToInt(ReadLine(PPEPath() + "weektop.cfg", 1)), ReadLine(PPEPath() + "weektop.cfg", 3), "Scanner v1.0", "WeekTop Uploaders", "N", Date() + 7, 0, 0, PPEPath() + "ansi\weekup.pcb"
  29.         FClose 1
  30.     Endif
  31.  
  32. ;------------------------------------------------------------------------------
  33. ;
  34. ; Usage report (before postprocessing)
  35. ;
  36. ; ■ Statements used :
  37. ;
  38. ;    1       Goto 
  39. ;    2       If 
  40. ;    1       FCreate 
  41. ;    1       FClose 
  42. ;    1       FPutLn 
  43. ;    1       Delete 
  44. ;    1       Shell 
  45. ;    1       Message 
  46. ;
  47. ;
  48. ; ■ Functions used :
  49. ;
  50. ;    10      +
  51. ;    1       ==
  52. ;    1       <>
  53. ;    2       !
  54. ;    1       &&
  55. ;    3       Date()
  56. ;    2       Dow()
  57. ;    1       String()
  58. ;    8       PPEPath()
  59. ;    3       ReadLine()
  60. ;    1       Exist()
  61. ;    2       ToInt()
  62. ;
  63. ;------------------------------------------------------------------------------
  64. ;
  65. ; Analysis flags : S
  66. ;
  67. ; S - Shell to DOS ■ 5
  68. ;     This may be normal if the PPE need to execute an external command,
  69. ;     but may be actually anything... nasty (formating HD, rebooting,...)
  70. ;     or usefull (sorting, maintenance,...). Check!
  71. ;     ■ Search for : SHELL
  72. ;
  73. ;------------------------------------------------------------------------------
  74. ;
  75. ; Postprocessing report
  76. ;
  77. ;    0       For/Next
  78. ;    0       While/EndWhile
  79. ;    1       If/Then or If/Then/Else
  80. ;    0       Select Case
  81. ;
  82. ;------------------------------------------------------------------------------
  83. ;                 AEGiS Corp - Break the routines, code against the machines!
  84. ;------------------------------------------------------------------------------
  85.