Results 1 to 4 of 4

Thread: $

  1. #1
    m00dy
    Guest

    $

    hi

    what does this character do when it attatched to a string or variables whatever.

    thx

  2. #2
    DaoK
    Guest
    it's a way to declare a String

    a$
    and
    dim a as String
    is the same

  3. #3
    m00dy
    Guest
    oki thx daok

    is this quicker than declaring with dim?
    why would i use this over dim?
    is there a similar thing for int, date, long etc etc?

    cheers

  4. #4
    Tygur
    Guest
    The $ isn't a replacement for Dim. It's used with it:
    Dim MyString$

    Both of these lines do the same thing and it really doesn't matter which you use:
    Dim MyString As String
    Dim MyString$

    There are other characters for other types:
    $ = String
    & = Long
    @ = Currency
    ! = Single
    # = Double
    % = Integer

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