Restored from previous forum. Originally posted by cor.
I have the following code in C
It's a decimal value
0x00403C90
How do I display this in PB?
Using Windows 98 SE
Registered PB version : 2.90 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
How to display decimal value?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Pupil.
You can use hexadecimal values in PB like this:
What do you mean by display?I have the following code in C
It's a decimal value
0x00403C90
How do I display this in PB?
You can use hexadecimal values in PB like this:
Code: Select all
variable.l=$403c90
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by cor.
Your right.
Too long looking at the screen. It was a hex value not decimal.
Thanks
Using Windows 98 SE
Registered PB version : 2.90 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Your right.
Too long looking at the screen. It was a hex value not decimal.
Thanks
Using Windows 98 SE
Registered PB version : 2.90 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com