Page 2 of 2 FirstFirst 12
Showing results 21 to 23 of 23

Thread: Basic VB Stuff - String Manipulation, Variables, If Statments, For Statments.

  1. #21
    Senior Member

    Dyndrilliac's Avatar
    Join Date
    Jun 2005
    Jacksonville, FL, USA


    I teach now what I've always taught; Applicable Rock Percussion (Drums) and Rythmic Theory. I'm basically one of the "Professors" (If you could even call it that) that works with the Band.

    Oh, and those hurricanes (when they came through Jax at least) were pussies. Some light rain and a bried thunderstorm.
    The Ultimate Guide Thread
    Quote Originally Posted by Ethernet Networking Bible
    Thou shalt switch where thy can, and route where thy must.

  2. #22


    You guys forgot XOR

  3. #23

    bLueStar's Avatar
    Join Date
    Jun 2007
    Quebec, Canada


    Quote Originally Posted by Dyndrilliac View Post
    Keep in mind that on most of the string manipulation functions (not all) you can trail them with a $. This is not just for the substring functions. The $ tells the compiler they return a string instead of a variant, which makes the program run faster theoretically.
    I have to add that they are called cast and all variable type have one.

    they are used like so : 14& cast the number to a long
    14.00# cast the decimal to a single

    VB has couple bitwise operator too:

    Xor, And, Or

    Msgbox 2 Xor 7
    Msgbox 2 And 7
    Msgbox 2 Or 7

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Rules

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