home *** CD-ROM | disk | FTP | other *** search
/ Bila Vrana / BILA_VRANA.iso / 019A / PCBDEMO.ZIP / PCBDISK1.EXE / RIP / PPE / PAGELEN.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-01-01  |  1KB  |  108 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  INTEGER002
  20.     Integer  INTEGER003
  21.     String   STRING001
  22.     String   STRING002
  23.  
  24. ;------------------------------------------------------------------------------
  25.  
  26.     STRING002 = Chr(27) + "[2D"
  27.     GetUser
  28.     INTEGER002 = U_PageLen
  29.     INTEGER003 = INTEGER002
  30.     DispFile PPEPath() + "PAGELEN.RIP", 0
  31.     PrintLn "!|10$COFF$|#|#|#"
  32.     Gosub LABEL001
  33.     While (STRING001 <> "S") Do
  34.         STRING001 = Upper(Inkey())
  35.         If ((STRING001 == "=") && (INTEGER002 < 43)) INTEGER002 = INTEGER002 + 1
  36.         If ((STRING001 == "-") && (INTEGER002 > 0)) INTEGER002 = INTEGER002 - 1
  37.         If (STRING001 == "D") INTEGER002 = INTEGER003
  38.         If (STRING001 == "N") INTEGER002 = 0
  39.         Gosub LABEL001
  40.         Delay 4
  41.     EndWhile
  42.     U_PageLen = INTEGER002
  43.     PutUser
  44.     PrintLn 
  45.     PrintLn "!|*|10$CON$|#|#|#"
  46.     End
  47.     :LABEL001
  48.     Print "@X70" + Left(INTEGER002, 2) + STRING002
  49.     Return
  50.  
  51. ;------------------------------------------------------------------------------
  52. ;
  53. ; Usage report (before postprocessing)
  54. ;
  55. ; ■ Statements used :
  56. ;
  57. ;    1       End
  58. ;    2       Goto 
  59. ;    9       Let 
  60. ;    1       Print 
  61. ;    3       PrintLn 
  62. ;    5       If 
  63. ;    1       DispFile 
  64. ;    1       GetUser
  65. ;    1       PutUser
  66. ;    2       Gosub 
  67. ;    1       Return
  68. ;    1       Delay 
  69. ;
  70. ;
  71. ; ■ Functions used :
  72. ;
  73. ;    5       +
  74. ;    1       -
  75. ;    4       ==
  76. ;    1       <>
  77. ;    1       <
  78. ;    1       >
  79. ;    1       !
  80. ;    2       &&
  81. ;    1       Upper()
  82. ;    1       Left()
  83. ;    1       Chr()
  84. ;    1       Inkey()
  85. ;    1       PPEPath()
  86. ;
  87. ;------------------------------------------------------------------------------
  88. ;
  89. ; Analysis flags : W
  90. ;
  91. ; W - Write user ■ 5
  92. ;     Program writes a user record. Although this may be normal for a
  93. ;     User Editor, it may also be a way to modify an account level.
  94. ;     ■ Search for : PUTUSER
  95. ;
  96. ;------------------------------------------------------------------------------
  97. ;
  98. ; Postprocessing report
  99. ;
  100. ;    0       For/Next
  101. ;    1       While/EndWhile
  102. ;    0       If/Then or If/Then/Else
  103. ;    0       Select Case
  104. ;
  105. ;------------------------------------------------------------------------------
  106. ;                 AEGiS Corp - Break the routines, code against the machines!
  107. ;------------------------------------------------------------------------------
  108.