home *** CD-ROM | disk | FTP | other *** search
/ Bila Vrana / BILA_VRANA.iso / 019A / PCBDEMO.ZIP / PCBDISK1.EXE / RIP / PPE / BATPRMPT.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-01-01  |  1KB  |  99 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.     String   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.     String   STRING005
  24.  
  25. ;------------------------------------------------------------------------------
  26.  
  27.     STRING004 = Upper(GetToken())
  28.     STRING005 = "PAUSE.NOW"
  29.     Call PPEPath() + "CHKPAUSE.PPE"
  30.     If (STRING004 == "BATCH") Then
  31.         STRING001 = "@X0A(A)bort, (E)dit, (G)oodbye, (L)ist, (P)rotocol, (Enter)=continue"
  32.         STRING003 = "BATDL-PR"
  33.     Endif
  34.     If (STRING004 == "EDIT") Then
  35.         STRING001 = "@X0A(A)dd a File, (R)emove a File, (L)ist Batch, (Enter)=continue"
  36.         STRING003 = "EDITBTCH"
  37.     Endif
  38.     DispFile GetEnv("PCBRIP") + "\" + STRING003, 4
  39.     InputStr STRING001, STRING002, 10, 1, Mask_Ascii(), 128 + 8
  40.     If (STRING002 == "") STRING002 = Chr(13)
  41.     If (STRING002 == "L") Then
  42.         FCreate 1, STRING005, 2, 0
  43.         FClose 1
  44.     Endif
  45.     KbdStuff STRING002
  46.     End
  47.  
  48. ;------------------------------------------------------------------------------
  49. ;
  50. ; Usage report (before postprocessing)
  51. ;
  52. ; ■ Statements used :
  53. ;
  54. ;    1       End
  55. ;    3       Goto 
  56. ;    7       Let 
  57. ;    4       If 
  58. ;    1       DispFile 
  59. ;    1       FCreate 
  60. ;    1       FClose 
  61. ;    1       InputStr 
  62. ;    1       KbdStuff 
  63. ;    1       Call 
  64. ;
  65. ;
  66. ; ■ Functions used :
  67. ;
  68. ;    4       +
  69. ;    4       ==
  70. ;    3       !
  71. ;    1       Upper()
  72. ;    1       Chr()
  73. ;    1       Mask_Ascii()
  74. ;    1       PPEPath()
  75. ;    1       GetToken()
  76. ;    1       GetEnv()
  77. ;
  78. ;------------------------------------------------------------------------------
  79. ;
  80. ; Analysis flags : C
  81. ;
  82. ; C - Call child PPE ■ 3
  83. ;     This is usually normal, but may be a tricky way to launch some
  84. ;     sysop-only commands.
  85. ;     ■ Search for : CALL
  86. ;
  87. ;------------------------------------------------------------------------------
  88. ;
  89. ; Postprocessing report
  90. ;
  91. ;    0       For/Next
  92. ;    0       While/EndWhile
  93. ;    3       If/Then or If/Then/Else
  94. ;    0       Select Case
  95. ;
  96. ;------------------------------------------------------------------------------
  97. ;                 AEGiS Corp - Break the routines, code against the machines!
  98. ;------------------------------------------------------------------------------
  99.