home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 March / Computerworld_1996-03_cd.bin / idg_cd3 / aplikace / komunika / telixwin / tfw.5 / LOGONAME.SLT < prev    next >
Text File  |  1995-07-28  |  950b  |  22 lines

  1. /****************************************************************/
  2. /*                                                              */
  3. /*  Demo of how to use the stored Logon Name in the PhoneBook   */
  4. /*  to help automate logging onto BBS's via linked scripts.     */
  5. /*                                                              */
  6. /*                   Copyright 1995 deltaComm Development, Inc. */
  7. /*                                                              */
  8. /****************************************************************/
  9.  
  10. main()
  11. {
  12.  if (_entry_logonName)        // make sure name has been defined for this entry
  13.                               // and that an entry has been connected to.
  14.    {
  15.     cPutS(_entry_logonName);  // send the name
  16.     cNewLine;                 // and a carriage return
  17.    }
  18.  else                         // else show error box for 4 seconds
  19.  
  20.    status_wind("No logon name available!",40);
  21. }
  22.