cheun Posted December 8, 2019 Share Posted December 8, 2019 Hello, I am stuck on a point in a script and I your help would be very appreciated. The goal is to create multiple Array from a source Array. The question is : How to create Arrays which name would be composed of a string and a variable which is incremented in a loop? Thank you !!! Link to comment Share on other sites More sharing options...
dmob Posted December 8, 2019 Share Posted December 8, 2019 Have a look at Assign and Eval in help file, or you could create a single array and store your arrays in each element. Link to comment Share on other sites More sharing options...
jguinch Posted December 8, 2019 Share Posted December 8, 2019 Maybe _ArrayAssign ? Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Nine Posted December 8, 2019 Share Posted December 8, 2019 Could you give us a sample of those arrays and their contents. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
cheun Posted December 8, 2019 Author Share Posted December 8, 2019 Hello, The first Array is generated from an excel file which contains : So the goal is to create for as many Array as 'Type 5'. Here we have 4 rows which contains the data "5". The name of the created arrays could be for exemple : array_type5_number1, ... array_type5_number4. Thank you everyone! Link to comment Share on other sites More sharing options...
seadoggie01 Posted December 9, 2019 Share Posted December 9, 2019 Is there a reason to have multiple arrays instead of a two dimensional array with just the type 5 rows? What's the overall goal of your script? junkew 1 All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types 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