home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / S / SAC-CNFS.ZIP / CNFSWIT.PPE (.txt) next >
PCBoard Programming Language Executable  |  1995-09-26  |  925b  |  95 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 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     String   STRING001
  21.  
  22. ;------------------------------------------------------------------------------
  23.  
  24.     STRING001 = GetToken()
  25.     If (STRING001 == ">") Goto LABEL001
  26.     If (STRING001 == "<") Goto LABEL002
  27.     End
  28.     :LABEL001
  29.     INTEGER001 = CurConf()
  30.     While (CurConf() < HiConfNum()) Do
  31.         INTEGER001 = INTEGER001 + 1
  32.         If (ConfReg(INTEGER001) == 1) Then
  33.             KbdStuff "J " + String(INTEGER001) + Chr(13)
  34.             End
  35.             Break
  36.         Endif
  37.     EndWhile
  38.     End
  39.     :LABEL002
  40.     INTEGER001 = CurConf()
  41.     While (CurConf() > 0) Do
  42.         INTEGER001 = INTEGER001 - 1
  43.         If (ConfReg(INTEGER001) == 1) Then
  44.             KbdStuff "J " + String(INTEGER001) + Chr(13)
  45.             End
  46.             Break
  47.         Endif
  48.     EndWhile
  49.     End
  50.  
  51. ;------------------------------------------------------------------------------
  52. ;
  53. ; Usage report (before postprocessing)
  54. ;
  55. ; ■ Statements used :
  56. ;
  57. ;    5       End
  58. ;    10      Goto 
  59. ;    5       Let 
  60. ;    6       If 
  61. ;    2       KbdStuff 
  62. ;
  63. ;
  64. ; ■ Functions used :
  65. ;
  66. ;    5       +
  67. ;    1       -
  68. ;    4       ==
  69. ;    1       <
  70. ;    1       >
  71. ;    4       !
  72. ;    2       Chr()
  73. ;    2       String()
  74. ;    4       CurConf()
  75. ;    1       GetToken()
  76. ;    2       ConfReg()
  77. ;    1       HiConfNum()
  78. ;
  79. ;------------------------------------------------------------------------------
  80. ;
  81. ; Analysis flags : No flag
  82. ;
  83. ;------------------------------------------------------------------------------
  84. ;
  85. ; Postprocessing report
  86. ;
  87. ;    0       For/Next
  88. ;    2       While/EndWhile
  89. ;    2       If/Then or If/Then/Else
  90. ;    0       Select Case
  91. ;
  92. ;------------------------------------------------------------------------------
  93. ;                 AEGiS Corp - Break the routines, code against the machines!
  94. ;------------------------------------------------------------------------------
  95.