It seems like an easy task (and is easy in other languages), but Im having trouble finding a solution.
Is it possible to create an array of strings? I'm looking for a PRAAT equivalent of the following python code
options=["a","b","cd"]
The ultimate goal is to do something like
Input=["ab","cd","ef"]
for InputEle in Input
if InputEle is in options
do blah
endif
endfor
You could use a string vector:
Check out section 8 at https://www.fon.hum.uva.nl/praat/manual/Scripting_5_7__Vectors_and_matrices.html