home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / articles / vbpj / source / eventgbl.bas < prev    next >
Encoding:
BASIC Source File  |  1996-01-29  |  485 b   |  18 lines

  1. Attribute VB_Name = "EVENTGBL"
  2. ' EventGbl.bas
  3.  
  4. ' Global module for EventCod demonstration program
  5. ' Sample program exploring how common algorithms can be
  6. ' converted to event driven versions for Visual Basic
  7. '
  8.  
  9. ' SampleArray is the data array used to demonstrate
  10. ' the different search and sort algorithms.
  11.  
  12. Global Const ArraySize% = 10000
  13.  
  14. ' We allocate an extra byte here to prevent boundary
  15. ' errors during the quicksort search
  16. Global SampleArray(10001) As Double
  17.  
  18.