home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11839 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.0 KB  |  34 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!mercury.unt.edu!kenc@sol.acs.unt.edu
  3. From: kenc@sol.acs.unt.edu (Ken Corey - Operator)
  4. Subject: QB 4.5 question
  5. Message-ID: <kenc.726359290@sol>
  6. Sender: usenet@mercury.unt.edu (UNT USENet Adminstrator)
  7. Organization: University of North Texas
  8. Date: Wed, 6 Jan 1993 22:28:10 GMT
  9. Lines: 23
  10.  
  11.  
  12. Can anyone help me with this scenario:
  13.  
  14. I have a file of 128 byte records.  There are 4 or 5 differring possible 
  15. record structures.  the first is:
  16.  
  17. TYPE block1type
  18.   howmany as integer
  19.   DIM items(64) AS INTEGER
  20. END TYPE
  21.  
  22. Or, at least, that's what I'm looking for.  QB 4.5 seems to choke on having 
  23. a DIM inside a type declaration.  Well, shucks, how else can I get an 
  24. indexed block of 64 integers?  (I'm assuming that integers are stored in 
  25. LSB MSB format, and are 16 bits wide total.)
  26.  
  27. I'm not worried about others yet....I'm fighting with this one.
  28.  
  29. Talk to y'all later...
  30.  
  31. Ken == kenc@sol.acs.unt.edu == kenc@vaxb.acs.unt.edu
  32.  "It's bad luck to be superstitious."
  33.          -- Andrew W. Mathis
  34.