RE: R: [AD] Allegro 5 new config routines, alpha 1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: RE: R: [AD] Allegro 5 new config routines, alpha 1

> There is no real difference between bools and ints, so wether `1' is
> integer or bool is IMHO not a very helpful distinction.

bools could be written as "yes", "no", "true", "false", 0, 1,
"on", "off" depending on the semantics.

> Something like 1234 is a normal integer, while "1234" and
> "blabla" are
> strings and 0x1234 is a hexadecimal number. Of course something like
> blabla and blabla1234 could just be strings as well, but then
> the meaning
> of 1234blabla is rather ambiguous.

I agree there that converting between types seems a stretch, and
not very helpful to tell the user she mistyped an entry
(eg al_get_int("foo") could yield 0)

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/