Snappier way of changing 0 to empty value

I fell there should be a Snappier way :slight_smile: of setting callback variable to an empty value if item 3 doesn't exist or setting it to item 3 if it does exist

My Snap! fu has left me this morning :frowning:

image

and of course - just as I was going to post this I remembered Snap! doesn't give an error if you ask for an index of a list that doesn't exist - it just returns an empty value :slight_smile:

image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.