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.

Newcomers DBPro Corner / Problem to get data from file to the display

Author
Message
RonsWare
13
Years of Service
User Offline
Joined: 5th Sep 2010
Location: Netherlands
Posted: 17th Nov 2013 00:37
Hello all, I have probably a stupid question.
I try to read the first 4 bytes from a file to a dword variable
But when i want to put the contents of the variable on the screen I only get a zero.

I also tried to read a byte from the file and put on the screen.
This worked fine.
I do not understand it



I also added the file.

Thanks in advance.

Cheers Ron.

Programming is learning

Attachments

Login to view attachments
RonsWare
13
Years of Service
User Offline
Joined: 5th Sep 2010
Location: Netherlands
Posted: 17th Nov 2013 11:55
The problem is solved, it was a typo

read long, File_NR, Ident

must be

read long File_NR, Ident

Thanks for your time

Cheers Ron.

Programming is learning

Login to post a reply

Server time is: 2024-04-20 06:51:19
Your offset time is: 2024-04-20 06:51:19