Re: Looking for a way to convert dec to bin

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



On Wed, 7 Mar 2007 13:17:07 -0500, "Robert Morley"
<rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hehehe. I have no objection to the idea at all; I just learned a certain
rigidity, and despite bitching about it at the time, have found that it
works for me in general. I also don't randomly jump out of loops with
things like Exit Do or Exit For. They're effectively a form of GoTo, and
like Pascal taught, I find they're absolutely never necessary (and only very
rarely even useful) once you wrap your mind around doing without them. Like
I said, Pascal influenced my programming style significantly. :)

Interesting - Pascal does contain GoTo
- I don't object to it, but /only/ if it simplifies the code,
otherwise I loathe it

Pascal also has Break and Exit

That said, I also follow popular conventions of the language to some degree.
So, if I WERE working in VB.NET, or I think C++ supports it as well, I might
well initialize variables at declaration time. I've also seen such
strangeness in VB.NET as only dimensioning variables inside an If...Then
structure. Not sure I'll ever wrap my mind around that, but if it's popular
in the language,

Ghastly !

I might get used to it. (PS, I know you can do exactly the
same thing in VB6, but I've seen it a lot more in the VB.NET examples I've
seen than I ever have in VB6/VBA.)

I'm very much against declaring variables anywhere other than at the
top of a block, I prefer to see at a glance what is going to be used.


.



Relevant Pages

  • Re: Properly closing an app?
    ... >This damn smart minimise button... ... >don't mind if its from a menu (file | exit or whatever) I just want to know ... remove the underscores from my email address. ...
    (microsoft.public.pocketpc.developer)
  • CA freeway exit numbering question
    ... I noticed that a photograph of the BGSs for I-10/I-5 near downtown LA ... included an exit sign with an *exit number* for Santa Fe Avenue... ... The mind boggles... ...
    (misc.transport.road)
  • Re: problem with sizeof in while loop reading a file
    ... It means that you should include the standard header that prototypes ... the exit() function, namely. ... I'll keep that in mind next time. ... Thanks Jack. ...
    (comp.lang.c)
  • Re: OT: Foosball!
    ... think about it though, if I was hung as well as the guy who DID do it, ... Our dorm had wings with a main entrance on one end and an exit on the ...  Also keep in mind, ...
    (rec.games.pinball)
  • Re: The REAL ID problem, and solutions
    ... On 2010-07-09 10:40:07 -0700, neithskye ... has changed its mind. ... (Exit, stage right, dusting off hands for a job well done, but tripping over a power cord just off stage.) ...
    (alt.games.warcraft)