Jump to content

copy array?


Recommended Posts

  • Moderators

that works?

Doesn't it? ( see how silly a question sounds when the person asking it didn't bother to test it to begin with? )

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

That kind of assignment actually creates a copy of the array and not just passes a pointer to it?

Did you do a $C = $B, $C[0] = "x" to do a test to see if it's a pointer passed. If it were an actual pointer, then $B[0] would equal $C[0].

For that type of thing you need to look at functions and ByRef.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...