Minor issue with numbers from 1 to 10

If I untick use primitive, I get an error
image

untitled script pic (33)

Simplifying it works but I've no idea what the purpose the zip block has
image

It took me a while too, but I think it's to hyperize the inputs.

I had the same problem, until I viewed both numbers from and zip in visible stepping. Now it works. Looks like a heisenbug.

I couldn't get it to work by single stepping but I did get it to work by editing and messing around with the zip block (which seems to be invisible in the palette even if I un-hide all blocks)

But when I exported it and re-imported into new Snap! tab - it went back to not working!

Works for me - Chrome@WIndows 10.
But it seems that the customized primitives are not preserved by the "export script / script pic".

<script app="Snap! 10, https://snap.berkeley.edu" version="2"><script>
<block s="reportNumbers">
     <l>1</l>
     <l>10</l>
</block>
</script></script>

"zip" is visible only in the "Dev mode" Shift:snap:.

Tried it in Chrome - still errors - I'm on this version in Linux Mint

I'm on Chrome on Windows 11.

It didn't work for me until I was viewing zip as well as numbers from. Is this what you did? (just confirming)

IIRC we don't save modified primitives in projects; you're supposed to write a custom initialization block that recreates them each time. I only work here.

Yes
........

that's no longer true. in v10 we are saving customized primitives in the project and also in libraries, just not in script pics.

I can reproduce the buggy zip behavior that @cymplecy encounters. Earlier today Yuan and I have investigated into it and built a fix for it. It'll be in the next patch upcoming sometime after SnapShot. Thanks!