0

JSON and for loops

Hi all -

I was reviewing the set() command and noticed this:

for i in response do
    let new := (create Contacts);
    for key, value in i.fields do
        set(new, key, value)
    end
end

Look at line 3, I didn't know you could set two variables in a for loop in Ninox.

This seems to only work with JSON data. I've tried using data with nid and Ninox errors out.

Is anyone else using this?

Can you enlightened the rest of us to its strengths and weakness?

Reply

null

Content aside

  • 1 mth agoLast active
  • 18Views
  • 1 Following