I need help with running functions for things in a list

How would I run functions for things in a list? I can't figure it out.

Would it be something like this?

for [object] in [list]
[object].update
end