Re: Looking for a way to convert dec to bin
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Wed, 7 Mar 2007 04:46:35 -0600
"Robert Morley" <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uITfVFBYHHA.992@xxxxxxxxxxxxxxxxxxxxxxx
seenDim res As String: res = "00000000"
Dim i As Long: i = 8
Interesting way of declaring starting values for your variables...never
that style before.
Rob
I was about to write something about I use/abuse colons all the time, but
one has to be very careful here. <g>
The other nice thing about colons, besides the ability to declare and define
variables in one place, is it preserves formatting to make your code even
easier to read.
So this this ...
Dim idx As Long: idx = 100
Dim sWheelName As String: sWheelName = "abc"
Dim r8Radius As Double: r8Radius = 5.6
becomes ...
Dim idx As Long: idx = 100
Dim sWheelName As String: sWheelName = "abc"
Dim r8Radius As Double: r8Radius = 5.6
-ralph
.
- Follow-Ups:
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- References:
- Looking for a way to convert dec to bin
- From: Kardon Coupé
- Re: Looking for a way to convert dec to bin
- From: Kardon Coupé
- Re: Looking for a way to convert dec to bin
- From: Michael C
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Looking for a way to convert dec to bin
- Prev by Date: Re: Data Type String
- Next by Date: Re: VB Books in Australia?
- Previous by thread: Re: Looking for a way to convert dec to bin
- Next by thread: Re: Looking for a way to convert dec to bin
- Index(es):
Relevant Pages
|