Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Need Memblock, file and UDT array help

Author
Message
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 7th Dec 2012 17:26 Edited at: 7th Dec 2012 17:30
Assuming that a file called "DataFile.dat" exists and was saved from a UDT Array called Object(0) as AnyType.

Why does this not work??

Quote: "
Runtime Error 8211.Cannot read from file at line ...
"



What to do?

Thanks

AEngine 2012 Ameadus Project Feedback or Food o0
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 7th Dec 2012 20:10
Let's see the code that saves the file

BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 7th Dec 2012 20:48

Again assuming that "Object(0)" Exists..

AEngine 2012 Ameadus Project Feedback or Food o0
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 8th Dec 2012 00:29
You forgot to remove the comment from; `Make Array From Memblock Object(0),1; it caused an error due to trying to load a series of zero value bytes

BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 8th Dec 2012 13:29
Thanks

AEngine 2012 Ameadus Project Feedback or Food o0

Login to post a reply

Server time is: 2026-07-08 00:25:34
Your offset time is: 2026-07-08 00:25:34