Hexadecimal

New to FreeBASIC? Post your questions here.
Post Reply
TurtleProgrammer
Posts: 37
Joined: Jan 26, 2017 7:54

Hexadecimal

Post by TurtleProgrammer »

Is there a way to put the 6 digit/letter hexadecimal values in DATA statements.
sancho2
Posts: 547
Joined: May 17, 2015 6:41

Re: Hexadecimal

Post by sancho2 »

Data &HFFFFFF,&HFFAAFF, &HCCDDEE

Hexidecimal can be used anywhere when prefixed with &H
Post Reply