I wanna do a foreach to read all my film names and I wanna print something if we are in the case "C02" or "SMB".
I tried that:
my_films_members = axlGetParam("artwork")->groupMembers foreach(film my_films_members->groupMembers filmparams = axlGetParam(strcat("artwork:" film)) (case film ("C02" printf ("tout est ok")) ("SMB" printf("ok")))))
But it doesn't work.
Could someone have an idea please? I have only 2 days to close that.
Try removing ->groupMembers at foreach line.
try this, this is exactly same as your program, only removed the ->groupMembers part
my_films_members = axlGetParam("artwork")->groupMembers
Hope it helps.