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.

Dark GDK / Query about the parameters of some of the dbRead commands

Author
Message
DazzaB
14
Years of Service
User Offline
Joined: 30th Nov 2004
Location: South Wales, UK
Posted: 2nd Dec 2004 05:47
Hi Mike,

I just tried using some of the dbRead commands - such as (taken from the help file) void dbReadByte ( int iFile, int iVariable ) -
but when I compile the program I get an error which says the dbReadByte command doesn't take 2 parameters.

Has the parameters required for this function, and some of the other dbRead functions, changed?

Cheers.
IanM
Retired Moderator
17
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Dec 2004 06:00
The prototype for the dbReadByte is

int dbReadByte(int iFile);

The help seems to be wrong for all of the dbRead* commands

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
OSX Using Happy Dude
16
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Dec 2004 15:36
Dont forget to let Mike know...

I've spotted some yesterday too.

Walk softly... and carry a big gun...
DazzaB
14
Years of Service
User Offline
Joined: 30th Nov 2004
Location: South Wales, UK
Posted: 2nd Dec 2004 17:18
Cheers guys. It shows I posted that message late last night and was way too tired. I didn't even think to look in the .h file for the prototype ... and I use C regularly in my job!! *walks away deeply embarrassed*!!

Login to post a reply

Server time is: 2019-09-15 08:27:02
Your offset time is: 2019-09-15 08:27:02