Anyone have the block specs for the comment block?
Offline
Bump
Offline
You Mean The Original Comment Block Or The New Comment Bubble Thing?
Offline
TheGameMaster1231 wrote:
You Mean The Original Comment Block Or The New Comment Bubble Thing?
Original
Offline
I looked and the instance for the old Comment Blocks is still there in 1.4, now I'm actually looking for the blocks spec.
Offline
The only code you have to do is
('comment %s' #- #comment:)
It may not look right at first, but the next time you reopen, distribute, etc. the image, it will look like it should.
Offline
henley wrote:
The only code you have to do is
Code:
('comment %s' #- #comment:)It may not look right at first, but the next time you reopen, distribute, etc. the image, it will look like it should.
It doesn't look right even if I reopen.
Offline
rocket101 wrote:
henley wrote:
The only code you have to do is
Code:
('comment %s' #- #comment:)It may not look right at first, but the next time you reopen, distribute, etc. the image, it will look like it should.
It doesn't look right even if I reopen.
It depends, how are you reopening?
Offline
Whats the instance?
Offline
No, I need to know where the method is thats all.
Offline
well, its not the original comment block, but I made one that works (doesn't give an error).
('comment %s' #- #-)
the second #- is a blank method, so you wont get an error for no function, but it wont do anything.
Offline
AmoebaMan wrote:
well, its not the original comment block, but I made one that works (doesn't give an error).
('comment %s' #- #-)
the second #- is a blank method, so you wont get an error for no function, but it wont do anything.
Or use #yourself, a method inherited from Object.
Offline
What is the meathod for the original comment block then, I cant find it.
Offline
AmoebaMan wrote:
well, its not the original comment block, but I made one that works (doesn't give an error).
('comment %s' #- #-)
the second #- is a blank method, so you wont get an error for no function, but it wont do anything.
Offline
AmoebaMan wrote:
well, its not the original comment block, but I made one that works (doesn't give an error).
('comment %s' #- #-)
the second #- is a blank method, so you wont get an error for no function, but it wont do anything.
Doesn't work.
OrderedCollection(Object)>>error:
[] in PasteUpMorph>>runStepMethods
[] in BlockContext>>ifError:
OrderedCollection(Object)>>error:
OrderedCollection>>errorNoSuchElement
OrderedCollection>>at:
OrderedCollection(SequenceableCollection)>>second
CommandBlockMorph>>evaluateInfixWithArgs:
CommandBlockMorph>>evaluateWithArgs:
ScratchProcess>>applyPrimitive
Offline
Does WORK!
Maybe:
('comment %s' #- #yourself)
Offline
That's not it. It's just a plain block.
Offline
connormonster1220 wrote:
That's not it. It's just a plain block.
Please don't necropost. This topic is over two years old.
Offline
you know you want it http://scratch.mit.edu/projects/connormonster1220/2754719
Offline
('comment %s' #- #- #addComment)
Offline