Automic Workload Automation

 View Only
  • 1.  Define Array-size by a variable

    Posted Jul 03, 2020 02:38 AM
    Edited by Alex Ericson Jul 03, 2020 02:38 AM
    Hi Guys,
    is there a way in Automic to define the Array size through a variable? 

    The following script does not work:

    :while &i# < 5
    :set &i# = &i# + 1
    :set...
    :end while

    :define &array#, string, &i#

    Thanks and best regards

    Alex


  • 2.  RE: Define Array-size by a variable
    Best Answer

    Posted Jul 03, 2020 05:59 AM
    Edited by Christopher Hackett Jul 07, 2020 05:22 PM
    This capability has been requested for many years. There is an enhancement request for the idea here:

    Define array with variable size

    If you like the idea, please vote for it.


  • 3.  RE: Define Array-size by a variable

    Posted Jul 03, 2020 08:43 AM
    Thanks for the info! This function would be great.