home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / T / THTLG211.ZIP / HTLOGON.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1995-01-25  |  2KB  |  102 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.     String   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.  
  24. ;------------------------------------------------------------------------------
  25.  
  26.     FOpen 1, PPEPath() + PPEName() + ".CNF", 0, 0
  27.     FGet 1, STRING003
  28.     FGet 1, STRING004
  29.     FClose 1
  30.     STRING002 = STRING003 + " " + Chr(60) + Chr(60) + Chr(84) + Chr(72) + Chr(84) + Chr(62) + Chr(62) + " " + STRING004 + Chr(76) + Chr(111) + Chr(103) + Chr(105) + Chr(110) + " " + Chr(80) + Chr(80) + Chr(69) + " @X0F" + Chr(118) + Chr(50) + Chr(46) + Chr(49) + Chr(49)
  31.     If (STRING002 <> STRING003 + " <<THT>> " + STRING004 + "Login PPE @X0Fv2.11") Stop
  32.     STRING001 = ReadLine(PCBDat(), 94)
  33.     If (Exist(PPEPath() + "HTUSER.PCB")) DispFile PPEPath() + "HTUSER.PCB", 0
  34.     If (AnsiOn()) Goto LABEL001
  35.     Print "5HRegistered to " + STRING001
  36.     Print "26H" + STRING002
  37.     Print "9H"
  38.     Goto LABEL002
  39.     :LABEL001
  40.     AnsiPos 15, 2
  41.     Print STRING004 + " Registered to " + STRING003 + STRING001
  42.     AnsiPos 26, 19
  43.     PrintLn STRING002
  44.     AnsiPos 29, 9
  45.     :LABEL002
  46.  
  47. ;------------------------------------------------------------------------------
  48. ;
  49. ; Usage report (before postprocessing)
  50. ;
  51. ; ■ Statements used :
  52. ;
  53. ;    2       Goto 
  54. ;    2       Let 
  55. ;    4       Print 
  56. ;    1       PrintLn 
  57. ;    3       If 
  58. ;    1       DispFile 
  59. ;    1       FOpen 
  60. ;    1       FClose 
  61. ;    2       FGet 
  62. ;    1       Stop
  63. ;    3       AnsiPos 
  64. ;
  65. ;
  66. ; ■ Functions used :
  67. ;
  68. ;    37      +
  69. ;    1       <>
  70. ;    1       !
  71. ;    20      Chr()
  72. ;    1       PCBDat()
  73. ;    3       PPEPath()
  74. ;    1       ReadLine()
  75. ;    1       Exist()
  76. ;    1       AnsiOn()
  77. ;    1       PPEName()
  78. ;
  79. ;------------------------------------------------------------------------------
  80. ;
  81. ; Analysis flags : d
  82. ;
  83. ; d - Access PCBOARD.DAT ■ 2
  84. ;     Program gets the full pathname to PCBOARD.DAT, this may be usefull
  85. ;     for many PPE so they can find various informations on the system
  86. ;     (system paths, max number of lines in messages, ...) but it may also
  87. ;     be a way to gather vital informations.
  88. ;     ■ Search for : PCBDAT()
  89. ;
  90. ;------------------------------------------------------------------------------
  91. ;
  92. ; Postprocessing report
  93. ;
  94. ;    0       For/Next
  95. ;    0       While/EndWhile
  96. ;    0       If/Then or If/Then/Else
  97. ;    0       Select Case
  98. ;
  99. ;------------------------------------------------------------------------------
  100. ;                 AEGiS Corp - Break the routines, code against the machines!
  101. ;------------------------------------------------------------------------------
  102.