Results 1 to 7 of 7

Thread: Please, Help! I'm trying something...

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Israel
    Posts
    636

    Exclamation Please, Help! I'm trying something...

    Hi!

    I have a problem!
    This file has a simple project that calls an A string.
    The string is declared like this: Private A() as String.
    When I want to use it I do:
    ReDim A(1)
    A(1) = "Arie"
    Print A(1)

    Goes well! But then, when I try this:
    ReDim A(2)
    A(2) = "Ball"

    And Then...

    Print A(1)
    Print A(2)

    The Value of A(1) is gone!!!

    What's wrong?!?

    Tell me,
    Please,
    Arie.
    Attached Files Attached Files

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