repo.or.cz
/
AROS-Contrib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial import of Scalos. To decrease size I have
[AROS-Contrib.git]
/
scalos
/
main
/
std_includes
/
E
/
Examples
/
Bonus
/
sthex.readme
blob
c440e402bf034b677df27524891611bad52853ec
1
StHex translate string's characters into HEX value like ID=MAKE_ID(.,.,.,.) often used in C language.
2
So the ID used will be: CONST ID={hex}
3
4
Example and usage:
5
6
StHex will ask you some text then it will convert it into HEX value.
7
8
Enter ID: MAIN
9
M = 4d
10
A = 41
11
I = 49
12
N = 4e
13
14
Result:
15
CONST MAIN = $4d41494e
16
17
18
JMC
19
20
agalliance@free.fr