home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PWABAL16.ZIP / AREA192.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1995-10-23  |  978b  |  101 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.     Boolean  BOOLEAN001
  20.     String   STRING001
  21.     String   STRING002
  22.     String   STRING003
  23.     Int      INT001
  24.  
  25. ;------------------------------------------------------------------------------
  26.  
  27.     STRING002 = String(Date())
  28.     STRING001 = PPEPath() + "alast"
  29.     INT001 = GetToken()
  30.     If (Exist(STRING001)) Goto LABEL001
  31.     FCreate 1, STRING001, 1, 3
  32.     FPutLn 1, STRING002
  33.     FClose 1
  34.     Shell 1, BOOLEAN001, PPEPath() + "area.bat", ""
  35.     Goto LABEL002
  36.     :LABEL001
  37.     FOpen 1, STRING001, 2, 3
  38.     FGet 1, STRING003
  39.     If (ToDate(STRING003) + INT001 <= ToDate(STRING002)) Then
  40.         Frewind 1
  41.         FPutLn 1, STRING002
  42.         FClose 1
  43.         Shell 1, BOOLEAN001, PPEPath() + "area.bat", ""
  44.     Else
  45.         FClose 1
  46.     Endif
  47.     :LABEL002
  48.  
  49. ;------------------------------------------------------------------------------
  50. ;
  51. ; Usage report (before postprocessing)
  52. ;
  53. ; ■ Statements used :
  54. ;
  55. ;    4       Goto 
  56. ;    3       Let 
  57. ;    2       If 
  58. ;    1       FCreate 
  59. ;    1       FOpen 
  60. ;    3       FClose 
  61. ;    1       FGet 
  62. ;    2       FPutLn 
  63. ;    2       Shell 
  64. ;    1       Frewind 
  65. ;
  66. ;
  67. ; ■ Functions used :
  68. ;
  69. ;    4       +
  70. ;    1       <=
  71. ;    2       !
  72. ;    1       Date()
  73. ;    1       String()
  74. ;    3       PPEPath()
  75. ;    1       GetToken()
  76. ;    1       Exist()
  77. ;    2       ToDate()
  78. ;
  79. ;------------------------------------------------------------------------------
  80. ;
  81. ; Analysis flags : S
  82. ;
  83. ; S - Shell to DOS ■ 5
  84. ;     This may be normal if the PPE need to execute an external command,
  85. ;     but may be actually anything... nasty (formating HD, rebooting,...)
  86. ;     or usefull (sorting, maintenance,...). Check!
  87. ;     ■ Search for : SHELL
  88. ;
  89. ;------------------------------------------------------------------------------
  90. ;
  91. ; Postprocessing report
  92. ;
  93. ;    0       For/Next
  94. ;    0       While/EndWhile
  95. ;    1       If/Then or If/Then/Else
  96. ;    0       Select Case
  97. ;
  98. ;------------------------------------------------------------------------------
  99. ;                 AEGiS Corp - Break the routines, code against the machines!
  100. ;------------------------------------------------------------------------------
  101.