home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / DOS / Programa / AGSPC1B2.ZIP / FLASH.PPS < prev    next >
Encoding:
Text File  |  1996-07-29  |  868 b   |  45 lines

  1. ;----------------------------------------------------------------------------
  2. ; Copyright(C) 1996, The AEGiS Corporation
  3. ;----------------------------------------------------------------------------
  4. ;
  5. ; PROCEDURE FlashStr()
  6. ;
  7. ; Flashs a word in the middle of the screen, as when you quit some aegis ppes
  8. ;
  9. ;----------------------------------------------------------------------------
  10. #lib
  11. Declare Procedure FlashStr(String Str)
  12.  
  13. ;----------------------------------------------------------------------------
  14. Procedure FlashStr(String Str)
  15.  
  16. Color @X0F
  17. Cls
  18.  
  19. AnsiPos 40-Len(Str)/2,11
  20. Color @X08
  21. Gosub Flash
  22. Color @X07
  23. Gosub Flash
  24. Color @X0F
  25. Gosub Flash
  26. Color @X07
  27. Gosub Flash
  28. Color @X08
  29. Gosub Flash
  30. Color @X0F
  31. Print Space(Len(Str))
  32.  
  33. Goto EndFlash
  34.  
  35. :Flash
  36. Print Str
  37. Delay 2
  38. Backup len(Str)
  39. Return
  40.  
  41. :EndFlash
  42. AnsiPos 1,1
  43.  
  44. Endproc
  45.