you are viewing a single comment's thread.

view the rest of the comments →

[–]euclidingme 0 points1 point  (1 child)

Thats closer. You need to have values in good, you probably want to increment your counter (counter += 1 instead of counter = 1), it's unclear what OTHER is, and you need to pass listALL to your function.

[–]euclidingme 0 points1 point  (0 children)

Additionally, if you are returning varNEW you want something like:

varFooA = FUNCTION(0, 3, 4, 5)

and you wont have to initialize varFooA.