home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 012 / card_ce.zip / APAGA.PRG < prev    next >
Text File  |  1994-07-23  |  1KB  |  44 lines

  1. * use b:card
  2. use card
  3. stor spac(15) to compp
  4. stor spac(4) to yearp
  5. stor spac(4) to cardnp
  6. set color to r+
  7. @ 06,20 say 'Company Name..........--> ' get compp pict '!!!!!!!!!!!!!!!'
  8. @ 08,20 say 'Year..................--> ' get yearp
  9. @ 10,20 say 'Player First Name.....--> ' 
  10. @ 12,20 say 'Playes Last Name......--> ' 
  11. @ 14,20 say 'Team Name.............--> ' 
  12. @ 16,20 say 'Card Number...........--> ' get cardnp pict '!!!!'
  13. set color to w+
  14. @ 02,30 say 'D E L E T E   C A R D'
  15. set color to gr+
  16. stor ' ' to op
  17. @ 22,01 say 'You must fill Comp/Year/card#'
  18. read
  19. set color to w
  20. loca for comp=compp .and. year=yearp .and. cardn=cardnp
  21. if .not. eof()
  22.     do apagaz
  23. endif
  24. if eof()
  25.     stor ' ' to nao
  26.     do limpat
  27.     set color to rb+
  28.     @ 21,05 say 'Card not found, Press any key' get nao
  29.     set color to w
  30.     read
  31.     clear gets
  32.     return
  33. endif
  34. set color to w+
  35. @ 22,01 say 'confirm delete (YES) or any other key to cancel ' 
  36. stor spac(3) to ok2
  37. clear gets
  38. @ 22,49 get ok2 pict '!!!'
  39. read
  40. if uppe(ok2) = 'YES'
  41.     dele
  42.     pack
  43. endif
  44. return