For each element, what is the good syntax?
Hello, I'm trying to use the for each element in Deluge in a custom function in Zoho CRM but I get error message no matter how I write the code.
If I write like this:
20 for each x in notesinfo {
21 x.Parent_Id.id = contact_id;
22 x.$se_module = "SubContacts";
23 }
I get this : "Improper Statement Error might be due to missing ';' at end of the line or incomplete expression Line Number:20"
If I write like this:
- 20 for each x in notesinfo {
- 21 x.Parent_Id.id = contact_id;
- 22 x.$se_module = "SubContacts";
- 23 } ;
I get this : Syntax error. Expecting '}' or statement. Found ';'. Line Number:23
Thanks in advance for your help