Re: foreach routine

new topic     » goto parent     » topic index » view thread      » older message » newer message

FMI, what is the benefit of a foreach statement vs. for x = y to z?

for i=1 to length(some_list) do
  call_func(rtn, {some_list[i], d})
end for

for each list in some_list do
  call_func(rtn, {list, d})
end for

Would there be a performance benefit on the backend?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu