Re: some bit math help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Just habit

"Michael C" <mculley@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%232Hvfa5dFHA.3492@xxxxxxxxxxxxxxxxxxxxxxx
> "Hal Rosser" <hmrosser@xxxxxxxxxxxxx> wrote in message
> news:E9oue.123522$8S5.92291@xxxxxxxxxxxxxxxxxxxxxxxxx
> > OOPS I screwed up on some of those line - see below
> >
> >> > Thanks
> >>
> >> If you want to store bits as bits and turn on specific bits as
> > indicators..
> >> dim dblX as double ' *****The number with all the bits
>
> Why have you used a double here?
>
> Michael

Just habit - mighta shoulda used a long ah rekon
just needs to be a numeric data type
why are you asking? what type would you recommend ?
But short of the nitpikin about type - do you agree in principle on the
procedure I outlined ?


.



Relevant Pages

  • Re: union
    ... ramu wrote: ... Don't get into habit of using floats. ... you cannot even store all long values exactly in a float variable. ... double is definitely not slower on modern ...
    (comp.lang.c)
  • Re: OOP design techniques for many child objects - Help
    ... first and then how to translate that to OOP. ... Keep chanting to yourself: Data tables store data. ...
    (comp.object)
  • Re: Satans Hollow cpo repro interest?
    ... I sold my SH because I couldn't find one.. ... please store my email somewhere if you ... do make them because I have a habit of missing threads when stuff gets ...
    (rec.games.video.arcade.collecting)
  • Re: Code Comprehension
    ... Mark P writes: ... Oops. ... I really should take the habit of writting the constant ...
    (comp.programming)
  • Re: Mex Strat or Epiphone Les Paul?
    ... money on your habit, and you'll pick up a strange lingo. ... "gig", and by then it will be too late. ... Prev by Date: ...
    (alt.guitar.beginner)