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

#26 2008-02-20 00:37:50

Axeblade
Scratcher
Registered: 2007-09-20
Posts: 37

Re: Comment block

Paddle2See wrote:

dagnew wrote:

But the Scratch team seems so talented, that I have a related suggestion: when right-clicking blocks, a popup now appears; add a 'comment-out' choice that would disable the block and make it gray. Sure, it's easy to drag blocks out, but not always so easy to know where they belonged.

This is an interesting and novel suggestion!  It would help a lot in debugging to have the ability to quickly turn sections of the script "Off"  and see how program behavior is impacted.  This can be accomplished currently by tearing the script apart, howerver, if it is a long and complicated script, this can lead to other errors when it is reassembled. 

If such a feature were implemented, it would have to be made very clear that particular code sections were turned "Off" otherwise it would be a major source of confusion.

You can already do that, just double click on the hat block of that script and it will turn off/on.

Offline

 

#27 2008-02-20 01:14:14

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Comment block

Axeblade,
  double-clicking the hat will start or stop the whole script, but it will not disable the script and prevent it from running when the hat condition occurs.  What is being looked for here is a way to have the effect of removing blocks without having to drag them out of the script.

Offline

 

#28 2008-02-20 09:53:49

Jman720
Scratcher
Registered: 2007-11-27
Posts: 1000+

Re: Comment block

Well, I have to say yes, for two reasons, 1. To describe my coding and remeber what's what, 2. so my sister can read what my coding is when she asks "Whats That?!" or "What does that do?!"  smile

Last edited by Jman720 (2008-02-20 09:54:51)


Solve for x
2+3+2+(-9)+1x+2x=7

Offline

 

#29 2008-02-29 11:18:16

OJY321
Scratcher
Registered: 2007-08-03
Posts: 68

Re: Comment block

I don't want it back but they just took it for no reason!!!! It didn't affect the code at all and it was just an easy way to teach begginers!

PS I think I spelt begginers wrong!

Offline

 

#30 2008-03-14 03:21:12

realmzmaster
Scratcher
Registered: 2007-11-17
Posts: 4

Re: Comment block

I vote for the retrun of the comment block! If scratch is suppose to be a first programming language then teaching beginners how to document their code is a good programming practice! As s teacher it helps me remeber what I was doing when I put the script together. It also helps me understand what the student was trying to accomplish. Every other programming language including the self-documenting COBOL has a way to comment the code. The longer the script the more essential the comments. The more scripts you have the more commenting you need. The repeat 0 with say is just a work around. The repeat and say are still evaluated by Scratch. Comments are simply ignored.

Offline

 

#31 2008-03-16 01:14:40

qwertyu63
Scratcher
Registered: 2008-01-13
Posts: 22

Re: Comment block

I vote in favor of the return of the comment block. I found it in a old project and I want it. So That is a Yes

Last edited by qwertyu63 (2008-03-16 01:15:38)

Offline

 

#32 2008-07-23 19:15:11

gadgetman
Scratcher
Registered: 2008-06-26
Posts: 70

Re: Comment block

yes!
-----------------------
http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Last edited by gadgetman (2008-12-21 13:36:33)


http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Offline

 

#33 2008-07-23 19:37:16

newareagle
Scratcher
Registered: 2008-06-10
Posts: 100+

Re: Comment block

Andres said a "Better" version of the comment block will be featured in The Next scratch Release. I don't remember what certain topic it was in, but I remember him saying it.


My Guitar Hero Game.
8/9 Projects on the Front Page at Once!

Offline

 

#34 2008-07-24 10:09:14

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: Comment block

I have used a repeat zero comment block here because I wanted to convey that my project was not a trick, so I used it to emphasize the fact. I am almost 100% sure that the comment block will be in 1.3, since it seems to be a necessity. If they do not intend on bringing it back, I vote yes. If they do, then I do not vote cause it will be in the next version anyway.


All your base are belong to us

Offline

 

#35 2008-07-24 10:13:47

Lanie
Scratcher
Registered: 2008-02-03
Posts: 1000+

Re: Comment block

I missed out when they were on but i would like them i drive myself looney when searching for the script that needs to be fixed.

Offline

 

#36 2011-08-09 13:33:46

Saca312
Scratcher
Registered: 2011-03-24
Posts: 100+

Re: Comment block

Yes!!!!!! Yes!!!!!! Yes!!!!!


http://i.imgur.com/AeIvr.png

Offline

 

#37 2011-08-09 13:50:55

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Comment block

Saca312 wrote:

Yes!!!!!! Yes!!!!!! Yes!!!!!

I'd like to point out that this thread is over 3 years old.  roll  Since then, the comment feature has returned, albeit in a slightly different and mostly better way. (Just right-click the scripting pane and click the option to add a comment, which you can drag around, re-size, and attach to blocks.)

Since we now have comments again, there's really no reason to keep this thread open. Closing. ^^


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer