Seite 1 von 1

static const int button_value = 0x0400; was heisst das ?

Verfasst: 30.05.2014 13:45
von 3dhubiflieger
habe das hier:

Code: Alles auswählen

static const int button_value = 0x0400;
aus einem C Programm gefunden. Leider weiss ich nicht wie ich das interpretieren soll.

Würd mal sagen das button_value als Integer Konstante definiert wird. Aber was heisst dann 0x0400 ? Brauch das ganze für mein Proggi !

Re: static const int button_value = 0x0400; was heisst das

Verfasst: 30.05.2014 13:50
von STARGÅTE
0x0400 ist eine Hexadizimalzahl und in PureBasic:

Code: Alles auswählen

#ButtonValue = $0400