home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / S / SCUMHK10.ZIP / HOTKEY.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-08-11  |  920b  |  93 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.  
  22. ;------------------------------------------------------------------------------
  23.  
  24.     STRING001 = TokenStr()
  25.     If (Exist(STRING001)) Goto LABEL001
  26.     Newline
  27.     PrintLn "@X08■@X07■@X0F■ File to display could not be found [@X07" + Upper(STRING001) + "@X0F]."
  28.     Newline
  29.     End
  30.     :LABEL001
  31.     FOpen 1, STRING001, 0, 0
  32.     :LABEL002
  33.     If (Ferr(1)) Goto LABEL004
  34.     FGet 1, STRING002
  35.     PrintLn STRING002
  36.     STRING002 = ""
  37.     STRING002 = Inkey()
  38.     If (STRING002 == "") Goto LABEL003
  39.     KbdStuff STRING002 + " " + Chr(8)
  40.     STRING002 = Inkey()
  41.     End
  42.     :LABEL003
  43.     Goto LABEL002
  44.     :LABEL004
  45.     FClose 1
  46.  
  47. ;------------------------------------------------------------------------------
  48. ;
  49. ; Usage report (before postprocessing)
  50. ;
  51. ; ■ Statements used :
  52. ;
  53. ;    2       End
  54. ;    4       Goto 
  55. ;    4       Let 
  56. ;    2       PrintLn 
  57. ;    3       If 
  58. ;    1       FOpen 
  59. ;    1       FClose 
  60. ;    1       FGet 
  61. ;    2       Newline
  62. ;    1       KbdStuff 
  63. ;
  64. ;
  65. ; ■ Functions used :
  66. ;
  67. ;    4       +
  68. ;    1       ==
  69. ;    3       !
  70. ;    1       Upper()
  71. ;    1       Ferr()
  72. ;    1       Chr()
  73. ;    2       Inkey()
  74. ;    1       Exist()
  75. ;    1       TokenStr()
  76. ;
  77. ;------------------------------------------------------------------------------
  78. ;
  79. ; Analysis flags : No flag
  80. ;
  81. ;------------------------------------------------------------------------------
  82. ;
  83. ; Postprocessing report
  84. ;
  85. ;    0       For/Next
  86. ;    0       While/EndWhile
  87. ;    0       If/Then or If/Then/Else
  88. ;    0       Select Case
  89. ;
  90. ;------------------------------------------------------------------------------
  91. ;                 AEGiS Corp - Break the routines, code against the machines!
  92. ;------------------------------------------------------------------------------
  93.