Results 1 to 5 of 5

Thread: code test

  1. #1

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    code test

    VB Code:
    1. 'Somebody else's Code:
    2. If something Then
    3.     Debug.Print "Hello"
    4. Else
    5.     Debug.Print "Hi"
    6. End If

    VB Code:
    1. 'here is a comment if then else
    2. if then else
    3. debug.print "Hi"
    4. end if
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  2. #2

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: code test

    Note to self - case sensitivity....

    VB Code:
    1. 'Somebody else's Code:
    2. If something Then
    3.     Debug.Print "Hello"
    4. Else
    5.     Debug.Print "Hi"
    6. End If

    VB Code:
    1. 'here is a comment if then else
    2. if then else
    3. debug.print "Hi"
    4. end if
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  3. #3

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: code test

    VB Code:
    1. 'Somebody else's Code:
    2. If something Then
    3.     Debug.Print "Hello"
    4. Else
    5.     Debug.Print "Hi"
    6. End If

    VB Code:
    1. 'here is a comment if then else
    2. if then else
    3. debug.print "Hi"
    4. end if
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  4. #4

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: code test

    'here is a comment if then elseif then else


    debug.print "Hi"
    end if

    CODE
    Code:
    'here is a comment if then else
    if then else
    debug.print "Hi"
    end if


    VBCODE



    visual basic code:'here is a comment if then else


    if then else
    debug.print "Hi"
    end if




    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  5. #5

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: code test

    visual basic code:


    VB Code:
    1. 'here is a comment if then else
    VB Code:
    1.  
    VB Code:
    1. if then else
    2. debug.print "Hi"
    3. end if[color=#007f00][/color]


    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

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