Results 1 to 2 of 2

Thread: Array Scan Function

  1. #1
    Resty
    Guest

    Array Scan Function

    Is there VB equivalent for the ASCAN foxpro function?
    I've searched this site and all I found to search an array
    is by going through the elements from the 0 to ubound.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well you have to scan from the lower bound (usually 0) up to the upper bound.

    You either do that, or use the Join() function to convert the array into a single string with a delimiter, do your changes, and then use Split() on the delimiter to put it back into an array.

    But the first approach is the only proper way of doing it.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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