home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / bccm100.zip / CNFN.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-05-19  |  716b  |  106 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.     Integer  INTEGER001
  20.     String   STRING001
  21.     String   STRING002
  22.     String   STRING003
  23.     String   STRING004
  24.     String   STRING005
  25.     String   STRING006
  26.  
  27. ;------------------------------------------------------------------------------
  28.  
  29.     STRING001 = PPEPath() + "cnfntxt"
  30.     STRING002 = PPEPath() + "cnfn"
  31.     StartDisp 1
  32.     STRING005 = Chr(13)
  33.     STRING006 = GetToken()
  34.     If (STRING006 <> "") STRING002 = PPEPath() + STRING006
  35.     INTEGER001 = 1
  36.     :LABEL001
  37.     While (1) Do
  38.         STRING003 = ReadLine(STRING002, INTEGER001)
  39.         If (STRING003 == "") Break
  40.         If (Upper(STRING003) == "@MORE@") Then
  41.             Inc INTEGER001
  42.             Break
  43.         Endif
  44.         PrintLn STRING003
  45.         Inc INTEGER001
  46.     EndWhile
  47.     If (STRING003 == "") End
  48.     InputStr ReadLine(STRING001, 1), STRING004, 1, 20, Mask_Ascii(), 8
  49.     Select Case (STRING004)
  50.         Case "", "Y"
  51.             Goto LABEL001
  52.         Case "N"
  53.             End
  54.         Case Else
  55.             KbdStuff STRING004 + STRING005
  56.             End
  57.     End Select
  58.  
  59. ;------------------------------------------------------------------------------
  60. ;
  61. ; Usage report (before postprocessing)
  62. ;
  63. ; ■ Statements used :
  64. ;
  65. ;    3       End
  66. ;    10      Goto 
  67. ;    7       Let 
  68. ;    1       PrintLn 
  69. ;    7       If 
  70. ;    1       StartDisp 
  71. ;    1       InputStr 
  72. ;    2       Inc 
  73. ;    1       KbdStuff 
  74. ;
  75. ;
  76. ; ■ Functions used :
  77. ;
  78. ;    4       +
  79. ;    6       ==
  80. ;    1       <>
  81. ;    4       !
  82. ;    1       ||
  83. ;    1       Upper()
  84. ;    1       Chr()
  85. ;    1       Mask_Ascii()
  86. ;    3       PPEPath()
  87. ;    2       ReadLine()
  88. ;    1       GetToken()
  89. ;
  90. ;------------------------------------------------------------------------------
  91. ;
  92. ; Analysis flags : No flag
  93. ;
  94. ;------------------------------------------------------------------------------
  95. ;
  96. ; Postprocessing report
  97. ;
  98. ;    0       For/Next
  99. ;    1       While/EndWhile
  100. ;    1       If/Then or If/Then/Else
  101. ;    1       Select Case
  102. ;
  103. ;------------------------------------------------------------------------------
  104. ;                 AEGiS Corp - Break the routines, code against the machines!
  105. ;------------------------------------------------------------------------------
  106.