CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Posts
    32

    Two statements I don't understand

    I recently visited this MSDN page:
    http://msdn.microsoft.com/en-us/library/6x627e5f.aspx

    Found this code:


    For i As Integer = 0 To TestArray.Length - 1
    If TestArray(i) <> "" Then
    LastNonEmpty += 1
    TestArray(LastNonEmpty) = TestArray(i)
    End If
    Next

    I don't understand the statements:
    TestArray.Length

    and the statements:
    LastNonEmpty += 1

    Any help!

  2. #2
    Join Date
    Feb 2002
    Location
    Makati City, Philippines
    Posts
    1,054

    Re: Two statements I don't understand

    These are VB.Net codes, not VB6
    Marketing our skills - please participate in the survey and share your insights
    -

  3. #3
    Join Date
    Sep 2006
    Posts
    32

    Re: Two statements I don't understand

    Great help!

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

Featured