jmoenig / Snap

a visual programming language inspired by Scratch
http://snap.berkeley.edu
GNU Affero General Public License v3.0
1.47k stars 739 forks source link

id of list giving NaN for empty values #3332

Open cymplecy opened 3 months ago

cymplecy commented 3 months ago

I have a custom reporter that does a deep remove of empty items from a nested list and went to use it today and was getting unexpected results

I have traced it back to this Encryption script pic

jmoenig commented 3 months ago

hmm... I can't reproduce this... list_ID

cymplecy commented 3 months ago

In the meantime - I tried to workaround the issue but no matter what I've tried - not succeeded e.g

Encryption script pic (1)

cymplecy commented 3 months ago

I just launched a new instance and that works fine Sans titre script pic

I'll see if I can clean up my existing project

cymplecy commented 3 months ago

Aah - its a BIGNUMS side effect (I'm playing around with this RSA encrption project that uses them

Encryption script pic (2)

https://snap.berkeley.edu/snap/snap.html#present:Username=borkmaster&ProjectName=Encryption&editMode&noRun