pixartist Posted June 3, 2010 Share Posted June 3, 2010 Hi, how can i copy a 2 dimensional array as fast as possible ? Link to comment Share on other sites More sharing options...
UEZ Posted June 3, 2010 Share Posted June 3, 2010 Whereto you want to copy the array? BR, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Yashied Posted June 3, 2010 Share Posted June 3, 2010 Dim $A[5] = [0, 1, 2, 3, 4] $B = $A My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
pixartist Posted June 3, 2010 Author Share Posted June 3, 2010 Dim $A[5] = [0, 1, 2, 3, 4] $B = $A that works? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 4, 2010 Moderators Share Posted June 4, 2010 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 More sharing options...
omikron48 Posted June 4, 2010 Share Posted June 4, 2010 That kind of assignment actually creates a copy of the array and not just passes a pointer to it? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 4, 2010 Moderators Share Posted June 4, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now