Discuss Scratch

Coding_Computer_0-1-
Scratcher
52 posts

Varibles

I was recently making a project using lists, but all the variables I had had to be put into it's own code to set the list number. I was thinking of a possible variable name block.
(varible one [ v] of ([ v])
This would allow you to essentially scroll through the variables, and take the names, not the values stored. This would really help with many variable heavy projects….

Please correct me if my blocks are wrong, or this is a duplicate.
dhuls
Scratcher
1000+ posts

Varibles

variable*
(variable one [ v] of ([ v])::variables) // I'm really not sure about the block syntax
Couldn't you just copypaste the variable names?
Coding_Computer_0-1-
Scratcher
52 posts

Varibles

dhuls wrote:

variable*
(variable one [ v] of ([ v])::variables) // I'm really not sure about the block syntax
Couldn't you just copypaste the variable names?
You would have to spend a while editing the names. But, You could make a simple and flexible algorithm that could/would solve problems…

Powered by DjangoBB