Discuss Scratch

Sonickyle
Scratcher
1000+ posts

Distinguishing unused variables

Alberknyis wrote:

My maximum amount of unused variables usually never goes over 1, but in my case,
<snip>

It's not really that easy to find which are necessary, especially since I could change the scripts at any time, and I still need to add scripts, and I'm usually not 100% sure how it's all going to work out.
O_O
How many variables do you have on your variable list?
My Patapony project has over 30 variables, which I believe 5 of which are unused.

Also your script layout really makes me want to Right Click > Clean Up.
jrezneckbhds
Scratcher
500+ posts

Distinguishing unused variables

Support!
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

Sonickyle wrote:

Alberknyis wrote:

My maximum amount of unused variables usually never goes over 1, but in my case,
<snip>

It's not really that easy to find which are necessary, especially since I could change the scripts at any time, and I still need to add scripts, and I'm usually not 100% sure how it's all going to work out.
O_O
How many variables do you have on your variable list?
My Patapony project has over 30 variables, which I believe 5 of which are unused.

Also your script layout really makes me want to Right Click > Clean Up.
Really I find the more variables unused the larger and more complex the project, so it would really only be good with a complex project..
Alberknyis
Scratcher
1000+ posts

Distinguishing unused variables

Sonickyle wrote:

Alberknyis wrote:

My maximum amount of unused variables usually never goes over 1, but in my case,
<snip>

It's not really that easy to find which are necessary, especially since I could change the scripts at any time, and I still need to add scripts, and I'm usually not 100% sure how it's all going to work out.
O_O
How many variables do you have on your variable list?
My Patapony project has over 30 variables, which I believe 5 of which are unused.

Also your script layout really makes me want to Right Click > Clean Up.

How many variables? 20. And that's just for that sprite . As for unused variables, I don't really have those.

Yet.

Also, nope . No cleaning up my scripts. I need everything collected in groups and separated and put together EXACTLY LIKE THAT or else even I won't remember what the heck's going on in that result of a black hole attack.
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

Alberknyis wrote:

Sonickyle wrote:

Alberknyis wrote:

My maximum amount of unused variables usually never goes over 1, but in my case,
<snip>

It's not really that easy to find which are necessary, especially since I could change the scripts at any time, and I still need to add scripts, and I'm usually not 100% sure how it's all going to work out.
O_O
How many variables do you have on your variable list?
My Patapony project has over 30 variables, which I believe 5 of which are unused.

Also your script layout really makes me want to Right Click > Clean Up.

How many variables? 20. And that's just for that sprite . As for unused variables, I don't really have those.

Yet.

Also, nope . No cleaning up my scripts. I need everything collected in groups and separated and put together EXACTLY LIKE THAT or else even I won't remember what the heck's going on in that result of a black hole attack.
Same here, I need everything in a certain place
I think someone said something about a dropdown search for variables or something, I agree with that because you can find one of millions of variables..
Langdon35
Scratcher
500+ posts

Distinguishing unused variables

Support.
cwrivera99
Scratcher
500+ posts

Distinguishing unused variables

Sonickyle wrote:

I think that in the variable list if a variable is not used anywhere in the project it should show as grey instead of organge so you know you're not using the variable in your project.
It would help filter out unused variables, but there's not too many times in which I've needed it.
peppermintpatty5
Scratcher
1000+ posts

Distinguishing unused variables

Support!!!
MrSherlockHolmes
Scratcher
500+ posts

Distinguishing unused variables

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.
because some people aren't planning wizards and end up deciding to do something that won't need that variable, and then they would end up having an unused variable. Like a bunch of iterators.
I'm not a planning wizard, but I still think at least 1 or 2 steps ahead of me, I mean I see that the only reason would be if you used a variable but found a better way without it and instead forgot to delete, but that's all I can think of.
I sort of agree with Fluffy. However, it could be helpful because it will make it easier for new members.
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

MrSherlockHolmes wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.
because some people aren't planning wizards and end up deciding to do something that won't need that variable, and then they would end up having an unused variable. Like a bunch of iterators.
I'm not a planning wizard, but I still think at least 1 or 2 steps ahead of me, I mean I see that the only reason would be if you used a variable but found a better way without it and instead forgot to delete, but that's all I can think of.
I sort of agree with Fluffy. However, it could be helpful because it will make it easier for new members.
I'm more on to a variable search thing so it's easier to find the right variables.
I don't see new members using 15 variables and eventually not using them, I mean there IS a help thing..
ChocolatePi
Scratcher
1000+ posts

Distinguishing unused variables

RPFluffy wrote:

MrSherlockHolmes wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.
because some people aren't planning wizards and end up deciding to do something that won't need that variable, and then they would end up having an unused variable. Like a bunch of iterators.
I'm not a planning wizard, but I still think at least 1 or 2 steps ahead of me, I mean I see that the only reason would be if you used a variable but found a better way without it and instead forgot to delete, but that's all I can think of.
I sort of agree with Fluffy. However, it could be helpful because it will make it easier for new members.
I'm more on to a variable search thing so it's easier to find the right variables.
I don't see new members using 15 variables and eventually not using them, I mean there IS a help thing..
yeah, and then if there's no search results you know you didn't use it!
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

ChocolatePi wrote:

RPFluffy wrote:

MrSherlockHolmes wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.
because some people aren't planning wizards and end up deciding to do something that won't need that variable, and then they would end up having an unused variable. Like a bunch of iterators.
I'm not a planning wizard, but I still think at least 1 or 2 steps ahead of me, I mean I see that the only reason would be if you used a variable but found a better way without it and instead forgot to delete, but that's all I can think of.
I sort of agree with Fluffy. However, it could be helpful because it will make it easier for new members.
I'm more on to a variable search thing so it's easier to find the right variables.
I don't see new members using 15 variables and eventually not using them, I mean there IS a help thing..
yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
ChocolatePi
Scratcher
1000+ posts

Distinguishing unused variables

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

MrSherlockHolmes wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.
because some people aren't planning wizards and end up deciding to do something that won't need that variable, and then they would end up having an unused variable. Like a bunch of iterators.
I'm not a planning wizard, but I still think at least 1 or 2 steps ahead of me, I mean I see that the only reason would be if you used a variable but found a better way without it and instead forgot to delete, but that's all I can think of.
I sort of agree with Fluffy. However, it could be helpful because it will make it easier for new members.
I'm more on to a variable search thing so it's easier to find the right variables.
I don't see new members using 15 variables and eventually not using them, I mean there IS a help thing..
yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
I'm supporting you with the “search for variable” feature.
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

MrSherlockHolmes wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.
because some people aren't planning wizards and end up deciding to do something that won't need that variable, and then they would end up having an unused variable. Like a bunch of iterators.
I'm not a planning wizard, but I still think at least 1 or 2 steps ahead of me, I mean I see that the only reason would be if you used a variable but found a better way without it and instead forgot to delete, but that's all I can think of.
I sort of agree with Fluffy. However, it could be helpful because it will make it easier for new members.
I'm more on to a variable search thing so it's easier to find the right variables.
I don't see new members using 15 variables and eventually not using them, I mean there IS a help thing..
yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
I'm supporting you with the “search for variable” feature.
Yeah, I think the person who created the topic should change it to that!
Sonickyle
Scratcher
1000+ posts

Distinguishing unused variables

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
I'm supporting you with the “search for variable” feature.
Yeah, I think the person who created the topic should change it to that!
What kind of search feature?
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

Sonickyle wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
I'm supporting you with the “search for variable” feature.
Yeah, I think the person who created the topic should change it to that!
What kind of search feature?
You can search for a specific variable by typing it in to a search bar thingy in the data section.
ChocolatePi
Scratcher
1000+ posts

Distinguishing unused variables

RPFluffy wrote:

Sonickyle wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
I'm supporting you with the “search for variable” feature.
Yeah, I think the person who created the topic should change it to that!
What kind of search feature?
You can search for a specific variable by typing it in to a search bar thingy in the data section.
and then it will open a sort of “magnifying glass” thing and go to each time the variable is mentioned, and if none, it'll give you an error message.
jrezneckbhds
Scratcher
500+ posts

Distinguishing unused variables

RPFluffy wrote:

Prinseskat wrote:

RPFluffy wrote:

Alberknyis wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.

If you work on things, you need variables. Sometimes you can plan ahead and make the variables before you use them.

And then, (you forget what the variable was for)/(you find a way without needing the variable)/(you realize you don't actually need it).

So you need to delete it.

I'd like a way to check which variables are around which aren't connected to a script that will activate.
Yeah that happens, but does it really happen that you so you have like more than 5 variables you didn't use?
I mean come on, it doesn't hurt to delete 3 or 4 variables in less than 30 seconds.
Sometimes you don't think you need a variable anymore but want to double-check before deleting it, end of story.
And how does this relate?

Alberknyis wrote:

RPFluffy wrote:

Alberknyis wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.

If you work on things, you need variables. Sometimes you can plan ahead and make the variables before you use them.

And then, (you forget what the variable was for)/(you find a way without needing the variable)/(you realize you don't actually need it).

So you need to delete it.

I'd like a way to check which variables are around which aren't connected to a script that will activate.
Yeah that happens, but does it really happen that you so you have like more than 5 variables you didn't use?
I mean come on, it doesn't hurt to delete 3 or 4 variables in less than 30 seconds.

My maximum amount of unused variables usually never goes over 1, but in my case,


It's not really that easy to find which are necessary, especially since I could change the scripts at any time, and I still need to add scripts, and I'm usually not 100% sure how it's all going to work out.
Well depends on how many variables used in each script and stuff, you know..
I agree with you, but I still support!
RPFluffy
Scratcher
1000+ posts

Distinguishing unused variables

jrezneckbhds wrote:

RPFluffy wrote:

Prinseskat wrote:

RPFluffy wrote:

Alberknyis wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.

If you work on things, you need variables. Sometimes you can plan ahead and make the variables before you use them.

And then, (you forget what the variable was for)/(you find a way without needing the variable)/(you realize you don't actually need it).

So you need to delete it.

I'd like a way to check which variables are around which aren't connected to a script that will activate.
Yeah that happens, but does it really happen that you so you have like more than 5 variables you didn't use?
I mean come on, it doesn't hurt to delete 3 or 4 variables in less than 30 seconds.
Sometimes you don't think you need a variable anymore but want to double-check before deleting it, end of story.
And how does this relate?

Alberknyis wrote:

RPFluffy wrote:

Alberknyis wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

Please explain a bit more.
Sounds like a cool idea, but why would you need it?
so you wouldn't have all these random pointless variables that are taking up space in your project.
But why would you create variables that you won't use? That sounds (no offense) stupid to me, plan it out.

If you work on things, you need variables. Sometimes you can plan ahead and make the variables before you use them.

And then, (you forget what the variable was for)/(you find a way without needing the variable)/(you realize you don't actually need it).

So you need to delete it.

I'd like a way to check which variables are around which aren't connected to a script that will activate.
Yeah that happens, but does it really happen that you so you have like more than 5 variables you didn't use?
I mean come on, it doesn't hurt to delete 3 or 4 variables in less than 30 seconds.

My maximum amount of unused variables usually never goes over 1, but in my case,


It's not really that easy to find which are necessary, especially since I could change the scripts at any time, and I still need to add scripts, and I'm usually not 100% sure how it's all going to work out.
Well depends on how many variables used in each script and stuff, you know..
I agree with you, but I still support!
Ok!

ChocolatePi wrote:

RPFluffy wrote:

Sonickyle wrote:

RPFluffy wrote:

ChocolatePi wrote:

RPFluffy wrote:

ChocolatePi wrote:

yeah, and then if there's no search results you know you didn't use it!
That wouldn't be useful, why?, well because what if you want to find an unused variable, and then use it?
I'm supporting you with the “search for variable” feature.
Yeah, I think the person who created the topic should change it to that!
What kind of search feature?
You can search for a specific variable by typing it in to a search bar thingy in the data section.
and then it will open a sort of “magnifying glass” thing and go to each time the variable is mentioned, and if none, it'll give you an error message.
Yeah!
jrezneckbhds
Scratcher
500+ posts

Distinguishing unused variables

SuperDragon2014 wrote:

I also think there should be a “delete unused variables” button so if, you, like me, forgot about lists and made like 50 variables you don't have to go through deleting EVERY SINGLE ONE.
I agree, but can't you always right-click them, and then delete them?

Powered by DjangoBB