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 / Hex in Data?

Author
Message
Bilboo
20
Years of Service
User Offline
Joined: 5th Dec 2003
Location:
Posted: 21st Feb 2005 07:35
Hi,

I'm trying to populate a data command with hex numbers ie

data 0x10,0x1b,0x0d

bit I'm getting the error message:-

Could not understand item '0x10' in DATA statement at line 20

Can anyone tell me where I'm going wrong?

Thanks in advance
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Feb 2005 09:41
are you trying to read it as strings? if so use quotes. It thinks your trying to use integer but 0x10 isnt an integer

Bilboo
20
Years of Service
User Offline
Joined: 5th Dec 2003
Location:
Posted: 22nd Feb 2005 00:54
I'm not trying to read it at all yet, the fault is during compiling with no read statements in the code as yet.

I thought 0x10 was an integer, it's the hex of 16?

Thanks
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 22nd Feb 2005 03:02
Bilboo
20
Years of Service
User Offline
Joined: 5th Dec 2003
Location:
Posted: 22nd Feb 2005 03:38
There you go.

Cheers

Login to post a reply

Server time is: 2024-11-11 23:43:30
Your offset time is: 2024-11-11 23:43:30