Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best Way to Loop through List of Values
#4
Macro Macro12
Code:
Copy      Help
str valueList=
;123 ABC
;124 DEF
;125 UVW
;126 XYZ
out
ARRAY(str) a
str line
foreach line valueList
,tok(line a)
,;out F"{a[0]} {a[1]}"
,sub.FillDataForm val(a[0]) a[1]

#sub FillDataForm
function number str&value
out F"Fill form with '{number}' '{value}'"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)