Re: how to enter binary number in Delphi



cyrille de Brebisson wrote:
hello,

how can I write this code:
case a of
$01000100: begin end;
$01010100: begin end;
end;

etc where the nubmers are BINARY, not decimal, not hex, but binary, without having to convert them myself (ie: the equivalent of the C 0b01001001)

cyrille


Sorry, as far as i know delphi does not support it.
i don't know why, they should..
using something like a %010101010 etc. would make
sense.


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • Re: how to enter binary number in Delphi
    ... cyrille de Brebisson wrote: ... etc where the nubmers are BINARY, not decimal, not hex, but binary, without having to convert them myself ...
    (alt.comp.lang.borland-delphi)
  • Re: Need help finding the best way to programaticaly solve a specific function for 0
    ... cyrille de brebisson wrote: ... I beleive that the function in this domain is only "growing", so it fells that I could use Newton, however, since the function seems to flaten out realy fast, I am afraid that I might end up with rounding issues on the division. ... can anyone propose a beter solution to solve that problem? ...
    (sci.math.num-analysis)
  • Re: (HP48G) Saturn and Cycles
    ... cyrille de Brebisson a écrit: ... you still have not told us which calcualtor you are using exactly... ... HP48GX. ...
    (comp.sys.hp48)
  • Re: any feedback on the HF tools?
    ... cyrille de Brebisson wrote: ... disproportionate amount of tuning work, it's still barely usable as a ...
    (rec.woodworking)
  • Re: serial port pinout on 50gs
    ... that, I do not know, you will have to dig through the samsung arm9 docos... ... cyrille de Brebisson wrote: ... Much more important to me is what voltage can the 50g's RX pin ...
    (comp.sys.hp48)