This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-07-31 17:19:11

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Stacks?

Okay, so I shift-clicked on Extras, chose Write Project Summary, read through it (most of it, at least, not the scripts) and it said: Stacks: 154. This can't be scripts because I know that there are seventy-something scripts. So what are these?

Offline

 

#2 2008-08-01 14:27:14

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Stacks?

My guess is that they're stacks of blocks. Loose and unloose.

Offline

 

#3 2008-08-01 22:11:13

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Stacks?

coolstuff wrote:

Okay, so I shift-clicked on Extras, chose Write Project Summary, read through it (most of it, at least, not the scripts) and it said: Stacks: 154. This can't be scripts because I know that there are seventy-something scripts. So what are these?

Stacks are a type of data structure often used in computer programming.  My guess is that what you are seeing here is the number of stacks used by the Squeak program (underneath Scratch) to run your project.  Why you would want to know this information is beyond me...it could be a loose measure of the memory requirements of the project.  I may be totally wrong here; it's just a guess.  We would need some help from the Scratch Team (or maybe Jens or another Squeak expert) to know for sure what that item means.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#4 2008-08-01 22:26:42

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Stacks?

Paddle2See wrote:

coolstuff wrote:

Okay, so I shift-clicked on Extras, chose Write Project Summary, read through it (most of it, at least, not the scripts) and it said: Stacks: 154. This can't be scripts because I know that there are seventy-something scripts. So what are these?

Stacks are a type of data structure often used in computer programming.  My guess is that what you are seeing here is the number of stacks used by the Squeak program (underneath Scratch) to run your project.  Why you would want to know this information is beyond me...it could be a loose measure of the memory requirements of the project.  I may be totally wrong here; it's just a guess.  We would need some help from the Scratch Team (or maybe Jens or another Squeak expert) to know for sure what that item means.

Wow! I thought it was just with the Scratch project, but I guess it had to do with Squeak... Thanks a bunch!

Offline

 

#5 2008-08-04 05:05:14

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Stacks?

I don't think this has anything to do with Squeak. The "scripts" count takes only those stacks of blocks into consideration which are topped by an event-hat-block, because they're the only ones actually executed, wheras the "stacks" count in the project summary probably counts every "stack of blocks" no matter if topped by an event-hat or not.


Jens Mönig

Offline

 

Board footer