home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / 0-9 / 1SQALIAS.ZIP / ALIAS.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-07-31  |  2KB  |  138 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 1.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Boolean  BOOLEAN001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.     String   STRING005
  24.  
  25. ;------------------------------------------------------------------------------
  26.  
  27.     STRING002 = ReadLine(PCBDat(), 94)
  28.     STRING002 = Upper(STRING002)
  29.     STRING004 = PPEPath()
  30.     FOpen 9, STRING004 + "SQPPL.KEY", 0, 0
  31.     FGet 9, STRING003
  32.     FClose 9
  33.     If (((Asc(Mid(STRING002, 2, 1)) == Mid(STRING003, 1, 2)) && (Asc(Mid(STRING002, 1, 1)) == Mid(STRING003, 3, 2))) && (Asc(Mid(STRING002, 4, 1)) == Mid(STRING003, 5, 2))) Goto LABEL001
  34.     Newline
  35.     PrintLn "@X08 Please encourage Your Sysop to register this Software!"
  36.     PrintLn "@X08         PPL developed by (c) SQUIRREL Mailbox         "
  37.     Delay 18
  38.     Print "@BEEP@@X0F■"
  39.     Delay 18
  40.     Print "@BEEP@■"
  41.     Delay 18
  42.     Print "@BEEP@■"
  43.     Delay 18
  44.     Print "@BEEP@■"
  45.     Delay 18
  46.     Print "@BEEP@■"
  47.     :LABEL001
  48.     GetUser
  49.     If ((ReadLine(PCBDat(), 259) == "0") && (U_Alias <> "")) Then
  50.         End
  51.     Else
  52.         PrintLn 
  53.         STRING005 = PPEPath()
  54.         DispFile STRING005 + "alias-t", 4
  55.         PrintLn 
  56.         PromptStr 690, U_Alias, 25, Mask_Ascii(), 2 + 4 + 8 + 128
  57.         If (U_RecNum(U_Alias) <> -1) Then
  58.             Newlines 2
  59.             DispText 256, 256 + 2048 + 64
  60.             BOOLEAN001 = 0
  61.             Wait
  62.         Endif
  63.     Endif
  64.     PutUser
  65.     End
  66.  
  67. ;------------------------------------------------------------------------------
  68. ;
  69. ; Usage report (before postprocessing)
  70. ;
  71. ; ■ Statements used :
  72. ;
  73. ;    2       End
  74. ;    1       Wait
  75. ;    4       Goto 
  76. ;    5       Let 
  77. ;    5       Print 
  78. ;    4       PrintLn 
  79. ;    3       If 
  80. ;    1       DispFile 
  81. ;    1       FOpen 
  82. ;    1       FClose 
  83. ;    1       FGet 
  84. ;    1       GetUser
  85. ;    1       PutUser
  86. ;    1       PromptStr 
  87. ;    5       Delay 
  88. ;    1       Newline
  89. ;    1       Newlines 
  90. ;    1       DispText 
  91. ;
  92. ;
  93. ; ■ Functions used :
  94. ;
  95. ;    1       -
  96. ;    7       +
  97. ;    4       ==
  98. ;    2       <>
  99. ;    2       !
  100. ;    3       &&
  101. ;    1       Upper()
  102. ;    6       Mid()
  103. ;    3       Asc()
  104. ;    1       Mask_Ascii()
  105. ;    2       PCBDat()
  106. ;    2       PPEPath()
  107. ;    2       ReadLine()
  108. ;    1       U_RecNum()
  109. ;
  110. ;------------------------------------------------------------------------------
  111. ;
  112. ; Analysis flags : Wd
  113. ;
  114. ; W - Write user ■ 5
  115. ;     Program writes a user record. Although this may be normal for a
  116. ;     User Editor, it may also be a way to modify an account level.
  117. ;     ■ Search for : PUTUSER
  118. ;
  119. ; d - Access PCBOARD.DAT ■ 2
  120. ;     Program gets the full pathname to PCBOARD.DAT, this may be usefull
  121. ;     for many PPE so they can find various informations on the system
  122. ;     (system paths, max number of lines in messages, ...) but it may also
  123. ;     be a way to gather vital informations.
  124. ;     ■ Search for : PCBDAT()
  125. ;
  126. ;------------------------------------------------------------------------------
  127. ;
  128. ; Postprocessing report
  129. ;
  130. ;    0       For/Next
  131. ;    0       While/EndWhile
  132. ;    2       If/Then or If/Then/Else
  133. ;    0       Select Case
  134. ;
  135. ;------------------------------------------------------------------------------
  136. ;                 AEGiS Corp - Break the routines, code against the machines!
  137. ;------------------------------------------------------------------------------
  138.