home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / S / SPTQUOTE.ZIP / SPTQUOTE.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1996-07-21  |  1KB  |  127 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.1O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     String   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.     String   STRING005
  24.     Int      INT001
  25.     Int      INT002
  26.     Int      INT003
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     INT001 = S2I(ReadLine(PPEPath() + PPEName() + ".CFG", 4), 10)
  31.     STRING001 = ReadLine(PPEPath() + PPEName() + ".CFG", INT001)
  32.     STRING004 = "999"
  33.     STRING003 = ""
  34.     STRING005 = UN_Oper()
  35.     Tokenize STRING005
  36.     INT002 = TokCount()
  37.     STRING002 = GetToken()
  38.     STRING002 = GetToken()
  39.     For INT003 = 3 To INT002
  40.         STRING002 = GetToken()
  41.         STRING003 = STRING003 + STRING002 + " "
  42.     Next
  43.     STRING003 = RTrim(STRING003, " ")
  44.     If ((STRING002 == RTrim(Upper(ReadLine(PPEPath() + PPEName() + ".CFG", 5)), " ")) == "YES") Then
  45.         STRING002 = RTrim(Upper(ReadLine(PPEPath() + PPEName() + ".CFG", 6)), " ")
  46.         If (Exist(STRING002)) Then
  47.             INT001 = 1
  48.             FOpen INT001, STRING002, 0, 0
  49.             FDefIn INT001
  50.             FDGet STRING002
  51.             :LABEL001
  52.             If (Ferr(INT001)) Goto LABEL003
  53.             If (Upper(STRING002) == STRING003) Goto LABEL002
  54.             FDGet STRING005
  55.             FDGet STRING002
  56.             Goto LABEL001
  57.             :LABEL002
  58.             FDGet STRING002
  59.             STRING003 = StripAtx(STRING002)
  60.         Endif
  61.         :LABEL003
  62.         FClose INT001
  63.     Endif
  64.     STRING001 = ReplaceStr(STRING001, "%NAME%", STRING003)
  65.     STRING001 = Left(STRING001, 72)
  66.     KbdStuff Chr(13) + STRING004 + Chr(13) + STRING001 + Chr(13) + " " + Chr(13)
  67.  
  68. ;------------------------------------------------------------------------------
  69. ;
  70. ; Usage report (before postprocessing)
  71. ;
  72. ; ■ Statements used :
  73. ;
  74. ;    7       Goto 
  75. ;    18      Let 
  76. ;    5       If 
  77. ;    1       FOpen 
  78. ;    1       FClose 
  79. ;    1       Tokenize 
  80. ;    1       KbdStuff 
  81. ;    1       FDefIn 
  82. ;    4       FDGet 
  83. ;
  84. ;
  85. ; ■ Functions used :
  86. ;
  87. ;    17      +
  88. ;    3       ==
  89. ;    1       <
  90. ;    1       <=
  91. ;    2       >=
  92. ;    3       !
  93. ;    2       &&
  94. ;    1       ||
  95. ;    3       Upper()
  96. ;    1       Left()
  97. ;    1       Ferr()
  98. ;    4       Chr()
  99. ;    3       RTrim()
  100. ;    1       StripAtx()
  101. ;    4       PPEPath()
  102. ;    4       ReadLine()
  103. ;    1       UN_Oper()
  104. ;    3       GetToken()
  105. ;    1       Exist()
  106. ;    1       S2I()
  107. ;    4       PPEName()
  108. ;    1       TokCount()
  109. ;    1       ReplaceStr()
  110. ;
  111. ;------------------------------------------------------------------------------
  112. ;
  113. ; Analysis flags : No flag
  114. ;
  115. ;------------------------------------------------------------------------------
  116. ;
  117. ; Postprocessing report
  118. ;
  119. ;    1       For/Next
  120. ;    0       While/EndWhile
  121. ;    2       If/Then or If/Then/Else
  122. ;    0       Select Case
  123. ;
  124. ;------------------------------------------------------------------------------
  125. ;                 AEGiS Corp - Break the routines, code against the machines!
  126. ;------------------------------------------------------------------------------
  127.