I have a list of strings that I want to iterate over in dxl. They represent module ID's like so:
string limitModules[5] = ['1', '2', '3', '4', '5']
Obviously each of the module ID's are more complicated. I've constructed a for loop using the syntax of for type1 v1 in type2 v2 do
. However when I run the script I get the following error:
incorrect arguments for (do)
Here's my loop exactly:
string mod_name = ""
for mod_name in limitModules do {
// test to see if module is found
}
What am I missing?