Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Question on memory set aside for Zero
#1
So I was tooling around the other day with an old file that was filled with data. The data is all Dimmed Single Type. I have a routine which helps me pick out individual items of data which had been stored sequentially. The routine I was using to access the various bits of data uses SEEK (which is ideal for Random Access). I was also using a math formula to locate the data which at its heart uses 4 bytes for each data item. This has worked fine until I accessed this old file. The major difference with this old data file and most of the others I access is the value of 0 (zero). So the data in the sequential file looks like this:
56
0
0
0
0
 etc... there are actually over 2500 single type data items with about 40% of the file's data being zeros.

Some where along the line those 0 values were not 4 bytes apart. I'm thinking, either my computer now packs zero differently in memory or something may have changed in QB since I last used that particular file's data. Has anything changed with QB on the memory set aside for Zero?
Reply


Messages In This Thread
A Question on memory set aside for Zero - by Dimster - 11-30-2024, 01:20 PM



Users browsing this thread: 4 Guest(s)