![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: Dynamic arrays (lists) Topic Summary: Created On: 03/08/2013 03:58 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello! Dunno know if this was mentioned before but I think you should include "dynamic" arrays. Arrays which don't have set initial size and grow (and shrinks) dynamically. This was (is) huge burden for VBA (and older programming languages). It has some benefits, but I think that generally there is more negative things. Process (code) could fail because initial size of array was too small. On the other hand too big array is waste of resources despite resource being very small (less than 0,0000X...1 processing power). Thanks! Best regards, Blaž |
|
|
|
![]() |
|
Blaz,
did you have a look on the "Redim Array" action (in the "Variables" group) ? What would you intend doing that you are missing ? Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- Jean Delfosse - Automate Beta Tester Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4 ![]() |
|
|
|
![]() |
|
Hello Jean! Yes I'm aware of ReDim function although I find it less convenient than dynamic array as I've mentioned in previous post. First you have to make array which would be big enough and then "shrink" it. It could happen that initial size of array would be too small. This was common in past but nowadays most of the programming languages support dynamic collections. Collection should "grow"/"shrink" by adding/removing item. Also I think this approach is much more "natural" for beginners. best regards |
|
|
|
![]() |
|
Hi Blaz,
Your suggestion has been added. We would also suggest using the "Redim Array" action as Jean did. ------------------------- Liz Casale Technical Support Representative (213) 738-6966 Network Automation, Inc. -------------------------------------------------------------------------------- AM5 5.5.5.1; AM6 6.2.8.0; AM7 7.1.3.0; AM8 8.0.9.0; AM9 9.0.3.4 BPA7 7.1.3.0; BPA8 8.0.9.0; BPA9 9.0.3.4 |
|
|
|
![]() |
|
Blaz,
I agree the array handling by AutoMate is rather poor. But it also can be done inside basic scripts that provide more flexible alternatives, like filling arrays with split or array statements. The full AutoMate 9 basic scripting reference can be found at its builder site http://www.winwrap.com/web/bas..._overview.htm&menu=yes It is by some aspects more comprehensive than the help provided in AutoMate Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- Jean Delfosse - Automate Beta Tester Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4 ![]() |
|
|
AutoMate Discussion
» GENERAL » Suggestions
»
Dynamic arrays (lists)
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.