home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / dbwin.zip / DEMO.PRG < prev    next >
Text File  |  1988-03-05  |  1KB  |  42 lines

  1. *demo.prg
  2. *demonstration of windowing techniques for DBASE
  3.  
  4. clear all
  5. clear
  6.  
  7. set talk off
  8. set confirm on
  9. set bell off
  10. set scor off
  11.  
  12. text
  13.    Although dBASE is the defacto standard for database programming, version
  14. 1.1 leaves a bit to be desired with respect to screen handling. dBASE's
  15. video I/O is painfully slow. The assembly language interface that Ashton-
  16. Tate has provided is weak and quite limited.
  17.  
  18.    Inspite of this, I have managed to port a library of windowing routines
  19. initially designed for use in Clipper, back to dBASE. This library is a
  20. subset of the routines I created for Clipper, and as such, share many of
  21. the same features.
  22.  
  23.    Although there are routines available to save and restore complete screens
  24. for dBASE, I have seen none that permit working with portions of the screen,
  25. which of course is the essence of windowing.
  26.  
  27.    My library is based on the concept of pre-drawing display screens and saving
  28. them to disk files. At the beginning of the main program, these files are
  29. restored to video buffers (memory variables) where they can be quickly
  30. accessed. Since we can select to restore portions of an entire screen image,
  31. each can be thought of as a 'pallette' on which several images can be drawn.
  32.  
  33.    The library consists of 13 BIN files which occupy under 7K of memory. Each
  34. 'pallette' requires 4K of memory. Let's take a look at some of the routines..."
  35.  
  36. endtext
  37. wait
  38. do features
  39. return
  40. *eof demo
  41.  
  42.