Looping through an array and calling a function on each pass in v-basic / asp classic
- by Sam
How do I loop through an array and call a function on each pass?
At the minute I'm trying the following...
if Request.Form("authorize") <> "" then
dim post_ids, ids
post_ids = Request.form("authorize")
ids = split(post_ids, ",")
For i = LBound(ids) to UBound(ids)
set updater = myFunction("comment_id=" & ids(i))
Next
end if
I'm getting the following error...
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.