Skip to content
Advertisement

Loop custom type object ion procedure

I created the following type:

Inside of a procedure then I accept this parameter and want to loop through it:

I keep getting this error though:

Advertisement

Answer

It is possible that you want to create a collection type

and then pass that collection to your procedure

If that is not what you are looking for, please edit your question to explain what exactly you are trying to loop over. An object type is a scalar so it doesn’t make sense to try to call first or last on it or to try to access the ith element.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement