Re: Jesus and his HEX Number Problem {Rob??}

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hawke said:
>i thought he might be using %f in printf
Not, just ? at the degugger window

>and i also wondered what would happen if instead of using 'constant'
>that he defined his constants as 'integers' and assigned
>them values
That should be the next step, but you answered so fast that your test saved
me of trying it.

>are Jesus and I both screwed up?
>or... well i don't wanna think about the or...
Me neither. For the sake of continuity, I've just put

constant INADDR_NONE         =    -1 -- #FFFFFFFF

and everything works fine...
That's what we call in Spanish "una chapuza". I don't know the word in
english, but is what I use to do when a water pipe breaks on saturday, I
have no tools, and nobody wants to come to fix it until monday... (just wrap
something around the pipe and firmly place on site with plastic strips...)

Why not to have qualified constants like "integer constant INADDR_NONE =
#FFFFFFFF"????
(Just another suggestion for the box).

Jesus-winsoking-properly

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu