Results 1 to 2 of 2

Thread: Declare...

  1. #1
    Join Date
    Dec 1969

    Default Declare...

    Hi Guys!,<BR><BR>I was wondering if it is ok within VB not to DIM a variable with a declaration e.g. Dim Blah as String and so forth. What are the repercussions if I don&#039;t.

  2. #2
    Join Date
    Dec 1969

    Default Poor coding practice

    But if you omit the AS XXX, then it is the same thing as doing<BR> DIM Blah As Variant<BR><BR>Note that with VB.NET you can *not* omit the type. They&#039;ve finally made VB a *real* language.<BR><BR>

Posting Permissions

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