Interesting Quirk on mBlock 3.2


#1

Hi All,

I just installed version 3.2 of the mBlock software, and noticed that Lists weren’t enabled/visible by default. I had a program that uses them which seemed to “magically” enable them. Not sure what’s going on, but I also got a message about the Run Forward block not being valid. Subsequent runs don’t display the same errors, so I’m unsure what happened to cause the error.


#2

I’m able to use lists as long as I include them only in “Scratch” code, but not in a “mbot Program” or “Arduino Program”.

For example, I can use the “When Flag clicked” start control to write a program using lists. This program can interact with the mBot and use the lists to store the results, but if I try to actually put a list related block under a “mBot Program” control, I get an error message indicating that the lists are invalid blocks.


#3

Yes, I had noted in a different thread that lists weren’t implemented as part of the code generation and therefore are only available when running the program through mBlock. :slight_smile: