home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PCBOARD / POWRPK10.ZIP / ADUPD.ZIP / ADUPD.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-03-02  |  4KB  |  163 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   STRING002
  20.     String   STRING003
  21.     String   STRING004
  22.  
  23. ;------------------------------------------------------------------------------
  24.  
  25.     STRING003 = " 1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
  26.     GetUser
  27.     If ((U_Addr(0) == "") || (Left(U_Addr(0), 1) == " ")) Goto LABEL001
  28.     Goto LABEL009
  29.     :LABEL001
  30.     PrintLn 
  31.     PrintLn "@X09┌───────────────────────────────────────────────────────────────────┐"
  32.     PrintLn "@X09│                  @X0B**** Address Update Menu ****                   @X09 │"
  33.     PrintLn "@X09├───────────────────────────────────────────────────────────────────┤"
  34.     PrintLn "@X09│                                                                   │"
  35.     PrintLn "@X09│ @X0BYou have not filled out your extra account information, you will @X09 │"
  36.     PrintLn "@X09│ @X0Basked a few questions so we can have a full record account.      @X09 │"
  37.     PrintLn "@X09│                                                                   │"
  38.     PrintLn "@X09└───────────────────────────────────────────────────────────────────┘"
  39.     PrintLn 
  40.     PrintLn "@X0AFor any information that does not apply to you, enter N/A."
  41.     :LABEL002
  42.     PrintLn 
  43.     PrintLn "@X0E" + "1" + " @X0F- @X0BStreet (1 of 2): @X0F", U_Addr(0)
  44.     PrintLn "@X0E" + "2" + " @X0F- @X0BStreet (2 of 2): @X0F", U_Addr(1)
  45.     PrintLn "@X0E" + "3" + " @X0F- @X0BCity           : @X0F", U_Addr(2)
  46.     PrintLn "@X0E" + "4" + " @X0F- @X0BState          : @X0F", U_Addr(3)
  47.     PrintLn "@X0E" + "5" + " @X0F- @X0BZip Code       : @X0F", U_Addr(4)
  48.     PrintLn "@X0E" + "6" + " @X0F- @X0BCountry        : @X0F", U_Addr(5)
  49.     PrintLn 
  50.     InputStr "@X0EAddress Info Command (@X0A1@X0F-@X0A6@X0E,@X0AQ@X0F/@X0AS to quit@X0E)", STRING002, 14, 1, "1234567890SsQq", 10
  51.     PrintLn 
  52.     If (STRING002 == "") Goto LABEL001
  53.     If (STRING002 == "1") Goto LABEL003
  54.     If (STRING002 == "2") Goto LABEL004
  55.     If (STRING002 == "3") Goto LABEL005
  56.     If (STRING002 == "4") Goto LABEL006
  57.     If (STRING002 == "5") Goto LABEL007
  58.     If (STRING002 == "6") Goto LABEL008
  59.     If (STRING002 == "S") Goto LABEL009
  60.     If (STRING002 == "s") Goto LABEL009
  61.     If (STRING002 == "Q") Goto LABEL009
  62.     If (STRING002 == "q") Goto LABEL009
  63.     If (STRING002 > 6) Goto LABEL002
  64.     Goto LABEL002
  65.     :LABEL003
  66.     InputStr "@X0AEnter Street Address (1 of 2)", U_Addr(0), 14, 45, STRING003, 10
  67.     PrintLn 
  68.     Goto LABEL001
  69.     :LABEL004
  70.     InputStr "@X0AEnter Street Address (2 of 2)", U_Addr(1), 14, 30, STRING003, 10
  71.     PrintLn 
  72.     Goto LABEL001
  73.     :LABEL005
  74.     InputStr "@X0AEnter City", U_Addr(2), 14, 30, STRING003, 10
  75.     PrintLn 
  76.     Goto LABEL001
  77.     :LABEL006
  78.     InputStr "@X0AEnter State (2 letter code)", U_Addr(3), 14, 2, STRING003, 10
  79.     PrintLn 
  80.     Goto LABEL001
  81.     :LABEL007
  82.     InputStr "@X0AEnter Zip Code", U_Addr(4), 14, 12, "1234567890-", 10
  83.     PrintLn 
  84.     Goto LABEL001
  85.     :LABEL008
  86.     InputStr "@X0AEnter Country", U_Addr(5), 14, 10, STRING003, 10
  87.     PrintLn 
  88.     Goto LABEL001
  89.     :LABEL009
  90.     If ((U_Addr(0) == "") || (Left(U_Addr(0), 1) == " ")) Goto LABEL010
  91.     Goto LABEL011
  92.     :LABEL010
  93.     PrintLn " You will be placed here everytime until you fill out your address"
  94.     PrintLn " information.  If there is some sort of problem, notify the sysop."
  95.     InputYN " Do you still want to Exit (y/N)", STRING004, 15
  96.     If (STRING004 == "Y") Goto LABEL011
  97.     If (STRING004 == "N") Goto LABEL001
  98.     If (STRING004 == "y") Goto LABEL011
  99.     If (STRING004 == "n") Goto LABEL001
  100.     If (STRING004 == "") Goto LABEL001
  101.     PrintLn " Thanks for taking the time to update your Address Information"
  102.     PrintLn " It will enable us to keep you in touch with future changes and"
  103.     PrintLn " changing Membership features.  In the future if you need you"
  104.     PrintLn " update your Address Information please use the W command at"
  105.     PrintLn " the main board prompt."
  106.     More
  107.     :LABEL011
  108.     PutUser
  109.     PrintLn 
  110.     PrintLn "Extra information updated (if at all) ..."
  111.     PrintLn "@X0AModule revised by Michael Cherin - DynaSOFT."
  112.     PrintLn "@X0AOriginal copy written by Ralph LoBianco."
  113.     PrintLn 
  114.     End
  115.  
  116. ;------------------------------------------------------------------------------
  117. ;
  118. ; Usage report (before postprocessing)
  119. ;
  120. ; ■ Statements used :
  121. ;
  122. ;    1       End
  123. ;    1       More
  124. ;    28      Goto 
  125. ;    1       Let 
  126. ;    38      PrintLn 
  127. ;    19      If 
  128. ;    1       GetUser
  129. ;    1       PutUser
  130. ;    7       InputStr 
  131. ;    1       InputYN 
  132. ;
  133. ;
  134. ; ■ Functions used :
  135. ;
  136. ;    12      +
  137. ;    20      ==
  138. ;    1       >
  139. ;    2       ||
  140. ;    2       Left()
  141. ;
  142. ;------------------------------------------------------------------------------
  143. ;
  144. ; Analysis flags : W
  145. ;
  146. ; W - Write user ■ 5
  147. ;     Program writes a user record. Although this may be normal for a
  148. ;     User Editor, it may also be a way to modify an account level.
  149. ;     ■ Search for : PUTUSER
  150. ;
  151. ;------------------------------------------------------------------------------
  152. ;
  153. ; Postprocessing report
  154. ;
  155. ;    0       For/Next
  156. ;    0       While/EndWhile
  157. ;    0       If/Then or If/Then/Else
  158. ;    0       Select Case
  159. ;
  160. ;------------------------------------------------------------------------------
  161. ;                 AEGiS Corp - Break the routines, code against the machines!
  162. ;------------------------------------------------------------------------------
  163.