PRO
afcorson
Australia
Asked
How do I assign a list of values to an array using the script language in Synthiam ARC? For example, I want to create an array like this: $MyArray = ["value1", "value2", "value3"].
Related Hardware EZ-B v4
To assign a list of values to an array using the script language in Synthiam ARC, you can use the
defineArray()
function. Below are the steps and an example of how to do this in JavaScript or Python, which are the preferred scripting languages in ARC.Steps:
defineArray()
function to create and assign values to the array.Example in JavaScript:
Example in Python:
Using
defineArray()
in EZ-Script:If you prefer to use EZ-Script, you can use the
defineArray()
function as follows:Using the Get Line Containing From Array Skill:
If you want to use the Get Line Containing From Array skill, you can follow these steps:
Example Using Get Line Containing From Array in EZ-Script:
Resources:
Feel free to ask if you have any more questions or need further assistance!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
To assign a list of values to an array using the script language in Synthiam ARC, you can use the
defineArray()
function. Below are the steps and an example of how to do this in JavaScript or Python, which are the preferred scripting languages in ARC.Steps:
defineArray()
function to create and assign values to the array.Example in JavaScript:
Example in Python:
Using
defineArray()
in EZ-Script:If you prefer to use EZ-Script, you can use the
defineArray()
function as follows:Using the Get Line Containing From Array Skill:
If you want to use the Get Line Containing From Array skill, you can follow these steps:
Example Using Get Line Containing From Array in EZ-Script:
Resources:
Feel free to ask if you have any more questions or need further assistance!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.