home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / PPE / ALF / ALF_NSC2.ZIP / NUSCAN2.PPE (.txt) < prev   
Encoding:
PCBoard Programming Language Executable  |  1994-07-01  |  2.1 KB  |  136 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.     Integer  INTEGER002
  21.     Integer  INTEGER003
  22.     String   STRING001
  23.     String   STRING002
  24.     String   STRING003
  25.     String   STRING004
  26.     String   STRING005
  27.     String   STRING006
  28.  
  29. ;------------------------------------------------------------------------------
  30.  
  31.     INTEGER001 = 100
  32.     STRING004 = "N"
  33.     STRING005 = ReadLine(PCBDat(), 31)
  34.     STRING003 = ReadLine(STRING005, 15)
  35.     STRING001 = FileInf(STRING003, 2)
  36.     INTEGER002 = Left(STRING001, 2) * INTEGER001 + Mid(STRING001, 4, 2)
  37.     GetUser
  38.     STRING002 = U_LDir()
  39.     INTEGER003 = Left(STRING002, 2) * INTEGER001 + Mid(STRING002, 4, 2)
  40.     If (INTEGER003 < INTEGER002) Then
  41.         PrintLn " "
  42.         PrintLn "@X0F NEW SCAN v2.0 BY: Mr. PHiLLiE"
  43.         PrintLn " "
  44.         PrintLn "@X07┼----------------------------------------------------------┼"
  45.         PrintLn "@X07:                                                          :"
  46.         PrintLn "@X07|  @X07THERE HAVE BEEN NEW FILES ADDED SINCE YOUR LAST CALL    |"
  47.         PrintLn "@X07:                                                          :"
  48.         PrintLn "@X07┼----------------------------------------------------------┼"
  49.         InputYN "@X03@USER@, Would you like to view the list of new files?", STRING004, 7
  50.     Endif
  51.     STRING004 = Upper(STRING004)
  52.     If (STRING004 == "Y") Goto LABEL001
  53.     If (STRING004 == "N") Goto LABEL004
  54.     End
  55.     :LABEL001
  56.     Newline
  57.     InputStr "@X07[@X0DU@X07]@X0Dpload Directory @X0For @X07[@X0DA@X07]@X0Dll the directories", STRING006, 14, 1, Mask_Alpha(), 8
  58.     If (STRING006 == "U") Goto LABEL002
  59.     If (STRING006 == "u") Goto LABEL002
  60.     If (STRING006 == "a") Goto LABEL003
  61.     If (STRING006 == "A") Goto LABEL003
  62.     Goto LABEL004
  63.     :LABEL002
  64.     Dir "N;S;U"
  65.     PrintLn "@PON@"
  66.     Goto LABEL004
  67.     :LABEL003
  68.     Dir "N;S;A"
  69.     PrintLn "@PON@"
  70.     :LABEL004
  71.     Newline
  72.     PrintLn 
  73.     PrintLn 
  74.     PrintLn "@X07==================================="
  75.     PrintLn "@X0B-*- @X03ALF PPE TEAM @X0B-*- @X08NEW SCAN v2.0!"
  76.     PrintLn "@X0FNEW SCAN v2.0, Another ALF Release!"
  77.     PrintLn "@X07==================================="
  78.  
  79. ;------------------------------------------------------------------------------
  80. ;
  81. ; Usage report (before postprocessing)
  82. ;
  83. ; ■ Statements used :
  84. ;
  85. ;    1       End
  86. ;    10      Goto 
  87. ;    9       Let 
  88. ;    16      PrintLn 
  89. ;    7       If 
  90. ;    1       GetUser
  91. ;    1       InputStr 
  92. ;    1       InputYN 
  93. ;    2       Newline
  94. ;    2       Dir 
  95. ;
  96. ;
  97. ; ■ Functions used :
  98. ;
  99. ;    2       *
  100. ;    2       +
  101. ;    6       ==
  102. ;    1       <
  103. ;    1       !
  104. ;    1       Upper()
  105. ;    2       Mid()
  106. ;    2       Left()
  107. ;    1       U_LDir()
  108. ;    1       Mask_Alpha()
  109. ;    1       PCBDat()
  110. ;    2       ReadLine()
  111. ;    1       FileInf()
  112. ;
  113. ;------------------------------------------------------------------------------
  114. ;
  115. ; Analysis flags : d
  116. ;
  117. ; d - Access PCBOARD.DAT ■ 2
  118. ;     Program gets the full pathname to PCBOARD.DAT, this may be usefull
  119. ;     for many PPE so they can find various informations on the system
  120. ;     (system paths, max number of lines in messages, ...) but it may also
  121. ;     be a way to gather vital informations.
  122. ;     ■ Search for : PCBDAT()
  123. ;
  124. ;------------------------------------------------------------------------------
  125. ;
  126. ; Postprocessing report
  127. ;
  128. ;    0       For/Next
  129. ;    0       While/EndWhile
  130. ;    1       If/Then or If/Then/Else
  131. ;    0       Select Case
  132. ;
  133. ;------------------------------------------------------------------------------
  134. ;                 AEGiS Corp - Break the routines, code against the machines!
  135. ;------------------------------------------------------------------------------
  136.