Help in creating a list with integers values for the loop to work
Posted: Tue Feb 13, 2018 9:34 am
Hi,
I would like to do a loop in with the level changes. The level are integers values ( 1.75, 2 and 2.5)
I would like to create a list with integers values for the loop to work.
Sample of my code:
string list = "1.75 2 2.5 "
for %u {%list}
!full_exp = 1
if zsc_{%u} > {%u} then signal_{%u} = -!full_exp
else if 0
end if
next
Any help will be greatly appreciated.
Thanks.
I would like to do a loop in with the level changes. The level are integers values ( 1.75, 2 and 2.5)
I would like to create a list with integers values for the loop to work.
Sample of my code:
string list = "1.75 2 2.5 "
for %u {%list}
!full_exp = 1
if zsc_{%u} > {%u} then signal_{%u} = -!full_exp
else if 0
end if
next
Any help will be greatly appreciated.
Thanks.