Subcript out of range

Results 1 to 2 of 2

Thread: Subcript out of range

  1. #1
    Join Date
    Dec 1969

    Default Subcript out of range

    Hi<BR>when i try to execute an array iam getting the above error.<BR>I have used myarray=Split(strvalue)<BR>when i say response.write myarray(0)<BR>response.write myarray(1)<BR>i get subscript out of range.<BR>How can i handle these errors<BR>Thanks<BR>Prashant

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Check the value of strvalue

    to "handle the errors" use UBOUND to get the number of elements of the array.<BR><BR>

Posting Permissions

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