home *** CD-ROM | disk | FTP | other *** search
/ Bila Vrana / BILA_VRANA.iso / 019A / PCBDEMO.ZIP / PCBDISK1.EXE / RIP / PPE / SETPROT.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-01-01  |  2KB  |  117 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   TSTRING001(23)
  20.     String   STRING002
  21.     Int      INT001
  22.     Int      INT002
  23.     Int      INT003
  24.     Int      INT004
  25.     Int      INT005
  26.     Int      INT006
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     INT003 = 12
  31.     INT004 = 8
  32.     For INT001 = 1 To 23
  33.         STRING002 = ScrText(4, INT001, 3, 0)
  34.         If (Left(STRING002, 1) == "(") && Right(STRING002, 1) == ")" Then
  35.             INT002 = INT002 + 1
  36.             TSTRING001(INT002) = Mid(STRING002, 2, 1)
  37.         Endif
  38.     Next
  39.     For INT001 = 1 To INT002
  40.         INT005 = INT003
  41.         INT006 = INT004 + INT001 + 1
  42.         MouseReg INT001, INT005, INT006, 68, INT006 + 1, 8, 8, 1, 0, TSTRING001(INT001)
  43.     Next
  44.     Gosub LABEL001
  45.     STRING002 = ""
  46.     While (Len(STRING002) < 1) Do
  47.         STRING002 = Inkey()
  48.     EndWhile
  49.     Gosub LABEL002
  50.     If (STRING002 == "") STRING002 = Chr(13)
  51.     KbdStuff Upper(Left(STRING002, 1))
  52.     FreshLine
  53.     PrintLn "!|*|#|#|#"
  54.     End
  55.     :LABEL001
  56.     FreshLine
  57.     PrintLn Chr(2), "|1", Chr(27), "0000$COFF$"
  58.     Return
  59.     :LABEL002
  60.     FreshLine
  61.     PrintLn Chr(2), "|1", Chr(27), "0000$CON$"
  62.     Return
  63.  
  64. ;------------------------------------------------------------------------------
  65. ;
  66. ; Usage report (before postprocessing)
  67. ;
  68. ; ■ Statements used :
  69. ;
  70. ;    1       End
  71. ;    7       Goto 
  72. ;    14      Let 
  73. ;    3       PrintLn 
  74. ;    5       If 
  75. ;    2       Gosub 
  76. ;    2       Return
  77. ;    1       KbdStuff 
  78. ;    3       FreshLine
  79. ;    1       MouseReg 
  80. ;
  81. ;
  82. ; ■ Functions used :
  83. ;
  84. ;    6       +
  85. ;    3       ==
  86. ;    3       <
  87. ;    2       <=
  88. ;    4       >=
  89. ;    4       !
  90. ;    5       &&
  91. ;    2       ||
  92. ;    1       Len(
  93. ;    1       Upper()
  94. ;    1       Mid()
  95. ;    2       Left()
  96. ;    1       Right()
  97. ;    5       Chr()
  98. ;    1       Inkey()
  99. ;    1       ScrText()
  100. ;
  101. ;------------------------------------------------------------------------------
  102. ;
  103. ; Analysis flags : No flag
  104. ;
  105. ;------------------------------------------------------------------------------
  106. ;
  107. ; Postprocessing report
  108. ;
  109. ;    2       For/Next
  110. ;    1       While/EndWhile
  111. ;    1       If/Then or If/Then/Else
  112. ;    0       Select Case
  113. ;
  114. ;------------------------------------------------------------------------------
  115. ;                 AEGiS Corp - Break the routines, code against the machines!
  116. ;------------------------------------------------------------------------------
  117.