Quick question, was embedded records meant to work with data as well or just assigned data like the one posted in the whatsnew.txt.
if ioresult = 0 then begin
fseek(fp,(i-1)*sizeof(task))
if not feof(fp) then begin
fread(fp,task,sizeof(task))
data_read := true
end
fclose(fp)
end
Quick question, was embedded records meant to work with data as well just assigned data like the one posted in the whatsnew.txt.
No I think it should work when reading as well.
if ioresult = 0 then begin
fseek(fp,(i-1)*sizeof(task))
if not feof(fp) then begin
fread(fp,task,sizeof(task))
data_read := true
end
fclose(fp)
end
One thing I am noticing here is that fseek isn't being checked for success, but I can't remember how MPL reacts in this situation.
To be honest the next 3 months or so are going to be pretty rough for me with time to spend on Mystic, but I will do my best to get through this list I have here! I apologize if this takes me a little bit to get to.
Things should settle back down in November/December for me (I hope)....
I have a huge list of things to look into and new ideas to consider!
To be honest the next 3 months or so are going to be pretty rough for me with time to spend on Mystic, but I will do my best to get through this list I have here! I apologize if this takes me a little bit to get to.
Things should settle back down in November/December for me (I hope)....
I have a huge list of things to look into and new ideas to consider!
Quick question, was embedded records meant to work with data as well just assigned data like the one posted in the whatsnew.txt.
No I think it should work when reading as well.
if ioresult = 0 then begin
fseek(fp,(i-1)*sizeof(task))
if not feof(fp) then begin
fread(fp,task,sizeof(task))
data_read := true
end
fclose(fp)
end
One thing I am noticing here is that fseek isn't being checked for success, but I can't remember how MPL reacts in this situation.
It may very well be bugged so that it doesn't work when reading embedded records, but I am going to have to take some time to make some tests and see what I can find before I can fix it or give you an answer.
To be honest the next 3 months or so are going to be pretty rough for me with time to spend on Mystic, but I will do my best to get through this list I have here! I apologize if this takes me a little bit to get to.
Things should settle back down in November/December for me (I hope)....
I have a huge list of things to look into and new ideas to consider!
--- Mystic BBS v1.12 A35 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 203:41:08 |
Calls: | 2,083 |
Calls today: | 1 |
Files: | 11,139 |
Messages: | 948,001 |