home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / TVBMAIL.ZIP / TVBMAIL.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-02-11  |  2KB  |  109 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   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.  
  24. ;------------------------------------------------------------------------------
  25.  
  26.     Cls
  27.     DispFile PPEPath() + "FPOPEN", 1 + 2 + 4
  28.     PrintLn 
  29.     Print "   @X0EEnter Name (ENTER=Quit)"
  30.     InputText "", STRING001, 11, 60
  31.     If (Len(STRING001) < 1) End
  32.     PrintLn 
  33.     Print "@X0EEnter Subject (ENTER=Quit)"
  34.     InputText "", STRING002, 11, 60
  35.     If (Len(STRING002) < 1) End
  36.     PrintLn 
  37.     DispText 498, 32768
  38.     GetUser
  39.     STRING004 = NoChar()
  40.     If (U_FSEP == 1) STRING004 = YesChar()
  41.     InputYN "", STRING004, 11
  42.     PrintLn 
  43.     If (Upper(STRING001) <> "UUCP") Then
  44.         InputStr "Send Netmail To What Address", STRING003, 14, 20, "1234567890/:.", 8
  45.         If (Len(STRING003) <> 0) Then
  46.             KbdStuff "E " + Chr(13) + STRING001 + Chr(13) + STRING002 + Chr(13) + STRING004 + Chr(13)
  47.             KbdStuff Chr(13) + Chr(13) + "(" + STRING003 + ")" + Chr(13) + Chr(13)
  48.         Endif
  49.     Else
  50.         InputStr "Send Netmail To What Internet Address", STRING003, 14, 73, "abcdefghijklmnopqrstuvwxyz1234567890@.", 16
  51.         If (Len(STRING003) <> 0) Then
  52.             KbdStuff "E " + Chr(13) + "UUCP" + Chr(13) + STRING002 + Chr(13) + STRING004 + Chr(13)
  53.             KbdStuff Chr(13) + Chr(13) + "To: " + STRING003 + Chr(13) + Chr(13)
  54.         Endif
  55.     Endif
  56.  
  57. ;------------------------------------------------------------------------------
  58. ;
  59. ; Usage report (before postprocessing)
  60. ;
  61. ; ■ Statements used :
  62. ;
  63. ;    2       End
  64. ;    1       Cls
  65. ;    4       Goto 
  66. ;    2       Let 
  67. ;    2       Print 
  68. ;    4       PrintLn 
  69. ;    6       If 
  70. ;    1       DispFile 
  71. ;    1       GetUser
  72. ;    2       InputStr 
  73. ;    1       InputYN 
  74. ;    1       DispText 
  75. ;    2       InputText 
  76. ;    4       KbdStuff 
  77. ;
  78. ;
  79. ; ■ Functions used :
  80. ;
  81. ;    28      +
  82. ;    1       ==
  83. ;    3       <>
  84. ;    2       <
  85. ;    3       !
  86. ;    4       Len(
  87. ;    1       Upper()
  88. ;    16      Chr()
  89. ;    1       NoChar()
  90. ;    1       YesChar()
  91. ;    1       PPEPath()
  92. ;
  93. ;------------------------------------------------------------------------------
  94. ;
  95. ; Analysis flags : No flag
  96. ;
  97. ;------------------------------------------------------------------------------
  98. ;
  99. ; Postprocessing report
  100. ;
  101. ;    0       For/Next
  102. ;    0       While/EndWhile
  103. ;    3       If/Then or If/Then/Else
  104. ;    0       Select Case
  105. ;
  106. ;------------------------------------------------------------------------------
  107. ;                 AEGiS Corp - Break the routines, code against the machines!
  108. ;------------------------------------------------------------------------------
  109.