home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PCBOARD / PAUSEPPE.ZIP / PAUSE.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-02-12  |  1KB  |  121 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.     Boolean  BOOLEAN002
  21.     String   STRING001
  22.     String   STRING002
  23.     String   STRING003
  24.     Byte     BYTE001
  25.     Byte     BYTE002
  26.     Byte     BYTE003
  27.     Int      INT001
  28.  
  29. ;------------------------------------------------------------------------------
  30.  
  31.     STRING003 = Chr(8) + "\" + Chr(8) + "|" + Chr(8) + "/" + Chr(8) + "-"
  32.     BYTE001 = Len(STRING003)
  33.     BYTE002 = 9
  34.     BYTE003 = 1
  35.     GetToken INT001
  36.     GetToken STRING002
  37.     BOOLEAN001 = (INT001 < 0)
  38.     INT001 = Abs(INT001) * 6
  39.     If (INT001 == 0) INT001 = 720
  40.     If ((STRING002 == "") || (STRING002 == "!")) Then
  41.         If (STRING002 == "!") BOOLEAN002 = 1
  42.         STRING002 = PPEPath() + PPEName()
  43.     Endif
  44.     If (Exist(STRING002)) DispFile STRING002, 4 + 2 + 1
  45.     STRING001 = Inkey()
  46.     While (BOOLEAN001 || (STRING001 <> Chr(13))) Do
  47.         Print Mid(STRING003, BYTE002, BYTE003)
  48.         BYTE003 = 2
  49.         BYTE002 = BYTE002 + 2
  50.         If (BYTE002 > BYTE001) BYTE002 = 1
  51.         Delay 3
  52.         Dec INT001
  53.         If (INT001 == 0) Break
  54.         STRING001 = Inkey()
  55.         While (STRING001 <> "") Do
  56.             If (STRING001 == Chr(13)) Break
  57.             STRING001 = Inkey()
  58.         EndWhile
  59.     EndWhile
  60.     Print Chr(13)
  61.     ClrEol
  62.     KeyFlush
  63.     If (BOOLEAN002) KbdStuff Chr(13)
  64.     End
  65.  
  66. ;------------------------------------------------------------------------------
  67. ;
  68. ; Usage report (before postprocessing)
  69. ;
  70. ; ■ Statements used :
  71. ;
  72. ;    1       End
  73. ;    1       ClrEol
  74. ;    7       Goto 
  75. ;    15      Let 
  76. ;    2       Print 
  77. ;    10      If 
  78. ;    1       DispFile 
  79. ;    1       Delay 
  80. ;    1       Dec 
  81. ;    2       GetToken 
  82. ;    1       KbdStuff 
  83. ;    1       KeyFlush
  84. ;
  85. ;
  86. ; ■ Functions used :
  87. ;
  88. ;    1       *
  89. ;    11      +
  90. ;    6       ==
  91. ;    2       <>
  92. ;    1       <
  93. ;    1       >
  94. ;    3       !
  95. ;    2       ||
  96. ;    1       Len(
  97. ;    1       Mid()
  98. ;    8       Chr()
  99. ;    3       Inkey()
  100. ;    1       PPEPath()
  101. ;    1       Exist()
  102. ;    1       Abs()
  103. ;    1       PPEName()
  104. ;
  105. ;------------------------------------------------------------------------------
  106. ;
  107. ; Analysis flags : No flag
  108. ;
  109. ;------------------------------------------------------------------------------
  110. ;
  111. ; Postprocessing report
  112. ;
  113. ;    0       For/Next
  114. ;    2       While/EndWhile
  115. ;    1       If/Then or If/Then/Else
  116. ;    0       Select Case
  117. ;
  118. ;------------------------------------------------------------------------------
  119. ;                 AEGiS Corp - Break the routines, code against the machines!
  120. ;------------------------------------------------------------------------------
  121.