Results 1 to 3 of 3

Thread: Variable Declaration Compulsory

  1. #1

    Thread Starter
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    Variable Declaration Compulsory

    I'm just migrating from VB VB.NET and the first thing that struck me was whether variable declaration is compulsory???.. probably a dumb question, but what the heck... also is this a turn-on, turn-off feature as in VB.NET.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    It didn't appear to be optional in beta 2, when I tried it.

    It's much better this way - nearly ALL languages apart from the interpreted ones such as Perl require you to declare your variables first.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    thanks

    Yup, i thought so too... it's better this way. Just got a little lazy working with VB6.0

    cheers, have a fab new year.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width