ver 0.3.0 LIST discoveries

Issue #60 resolved
Turgut Guneysu created an issue

Hi John,

Continuing to work w/ the new version, I came across this one. Not sure if it also existed in versions before.

I create a VAR and make it a list:

And the reporter shows correctly:

However if I use the

option to create the list. its content is NOT [empty list], but rather [0,0] for all “new list length” s “blank”, 0, 1, 2. Only starting at length 3 does it produce the correct content of [0, 0, 0].

NOTE: “blank” indicates I place the cursor in the length field and delete any and all entry there by DEL key.

Above is for “new list length” s: “blank”, 0, 1, 2

Also, since the first version “list >” produces an [empty list], I was expecting the “new list length” to also produce an [empty list] for length 0 at the very least.

Thus the result of the sequence of blocks below is not right I believe.

For you assessment.

TG

Comments (3)

  1. John Maloney repo owner

    Thanks for the careful testing and thorough write-up.

    I’ve verified that “new list length _” with inputs of blank or 0 return a list with two elements rather than an empty list and an input of 1 also returns a list with two elements. Will fix.

  2. Log in to comment