Baderous wrote:
poemon1 wrote:
('pi' #r #pi)
Code:
pi ^ 3.14159265('pi^2' #r #piRaisedToTwo)
Code:
piRaisedToTwo ^ 3.14159265 raisedTo: 2If you want to use Pi, you should use the Float class variable Pi, which is defined as:
Pi = 3.14159265358979323846264338327950288
The pi block is already shared, check Scratch operators.
So is the raised to block, so they can just be combined. Sorry, I don't think I'll add it.
Also, I'm not doing queuing right now, as I'll just take any from after the most recent update.
Offline
TuragaTreeko wrote:
scimonster wrote:
Greenatic wrote:
I think you're supposed to use ifNaN, not ifNan. Maybe that's messing it up.Forgot a couple periods.
Oh, where?
Fixed in the original quote.
"]]." should have been "].].". ;_)
Offline
scimonster wrote:
TuragaTreeko wrote:
scimonster wrote:
Forgot a couple periods.Oh, where?
Fixed in the original quote.
"]]." should have been "].].". ;_)
Ah. Okay!
Offline
I think we should have a librarians' dropbox account so we can all upload Panther blocks. I'm working a BBCode generator right now, because physically updating it drove me crazy! XD
Offline
lol, in one of my motion blocks:
('go %n% of the way to x: %n y: %n' #- #Distance:X:Y
The last two characters got turned into a smiley. Can someone go fix that?
100TH POST!!!!!!!!!!!
Offline
lol, in one of my motion blocks:
('go %n% of the way to x: %n y: %n' #- #Distance:X:Y:)
The last two characters got turned into a smiley. Can someone go fix that?
100TH POST!!!!!!!!!!!
Offline
jslomba wrote:
lol, in one of my motion blocks:
('go %n% of the way to x: %n y: %n' #- #Distance:X:Y
The last two characters got turned into a smiley. Can someone go fix that?
100TH POST!!!!!!!!!!!
No, I meant in the library post.
Offline
Yeah, I'll do that.
I'll also see if I can have enough time on the computer to do an actual update.
Maybe night, my time, and continue into tomorrow.
Offline
jslomba wrote:
lol, in one of my motion blocks:
('go %n% of the way to x: %n y: %n' #- #Distance:X:Y
The last two characters got turned into a smiley. Can someone go fix that?
100TH POST!!!!!!!!!!!
Put it in a code box like this with the code tag
Offline
joefarebrother wrote:
jslomba wrote:
lol, in one of my motion blocks:
('go %n% of the way to x: %n y: %n' #- #Distance:X:Y
The last two characters got turned into a smiley. Can someone go fix that?
100TH POST!!!!!!!!!!!Code:
Put it in a code box like this with the code tag
It must have been a weird glitch, because I'm pretty sure it WAS in a code tag...
Offline
Hey I have a question. Does BYOB automatically add a folder named Scratch Projects when you try to open a project from it?
Offline
Bookworm300 wrote:
Hey I have a question. Does BYOB automatically add a folder named Scratch Projects when you try to open a project from it?
No, it has a scratch projects folder in it when downloaded. Next time, make a new topic to ask a question, not in another forum.
Offline
Greenatic wrote:
joefarebrother wrote:
jslomba wrote:
lol, in one of my motion blocks:
('go %n% of the way to x: %n y: %n' #- #Distance:X:Y
The last two characters got turned into a smiley. Can someone go fix that?
100TH POST!!!!!!!!!!!Code:
Put it in a code box like this with the code tagIt must have been a weird glitch, because I'm pretty sure it WAS in a code tag...
It was in a quote tag. I just need to turn off smilies for that post.
Offline
@Librarians: I think you guys are behind on the queue since the beginning of page 68.
I also asked for two edits of my blocks, one of the <%n is prime> block, with credit as an improvement by Scimonster, and an edit of the 4 draggable/undraggable stack blocks, also with credit as an improvement by Scimonster, since he said he knew how to remove mouse-pointer as an option for the blocks.
Last edited by Greenatic (2011-07-27 10:35:43)
Offline
Yes, I know. I have limited computer though, so I don't know if I can do an update.
And the update can just be run from all blocks shared after the most recent update.
Offline
Greenatic wrote:
TuragaTreeko wrote:
I have a block, but it is having a fit about the double ifTrue:'s. So if anyone can help, Thanks.
Code:
First, make a new dropdown (for %Y) with choice of 'Infinite', and the menu should contain 'Infinite', 'Not a Number', and 'Too Small'.Code:
('%s is %Y' #b #not: 'string' Number:)Code:
not:t1Number:t2 t2 = 'Infinite' ifTrue: [t1 isInf ifTrue: [^true]]. t2 = 'Not a Number' ifTrue: [t1 isNan ifTrue: [^true]]. t2 = 'Too Small' ifTrue: [t1 isNil ifTrue: [^true]]. ^falseI think you're supposed to use ifNaN, not ifNan. Maybe that's messing it up.
not:t1Number:t2 t2 = 'Infinite' ifTrue: [t1 isInf ifTrue: [^true].]. t2 = 'Not a Number' ifTrue: [t1 isNan ifTrue: [^true].]. t2 = 'Too Small' ifTrue: [t1 isNil ifTrue: [^true].]. ^false
Okay, FIXED! Will someone queue it?
Last edited by TuragaTreeko (2011-07-27 11:51:06)
Offline
I told you, we'll just take any blocks shared after the second biggest update in the history of the Library!
Offline
scimonster wrote:
Greenatic wrote:
joefarebrother wrote:
Code:
Put it in a code box like this with the code tagIt must have been a weird glitch, because I'm pretty sure it WAS in a code tag...
It was in a quote tag. I just need to turn off smilies for that post.
You don't need to turn off smilies, you can use the [i][/i] trick: :[i][/i]D becomes :D
See?
Offline
meowmeow55 wrote:
scimonster wrote:
Greenatic wrote:
It must have been a weird glitch, because I'm pretty sure it WAS in a code tag...
It was in a quote tag. I just need to turn off smilies for that post.
You don't need to turn off smilies, you can use the [i][/i] trick: :[i][/i]D becomes :D
See?
I know that, but it's easier just to have it come automatically. ;D
Offline
scimonster wrote:
I told you, we'll just take any blocks shared after the second biggest update in the history of the Library!
And when exactly is that going to be?
Offline
Greenatic wrote:
scimonster wrote:
I told you, we'll just take any blocks shared after the second biggest update in the history of the Library!
And when exactly is that going to be?
The second biggest was the one before the most recent: 26 blocks!
Offline
scimonster wrote:
Greenatic wrote:
scimonster wrote:
I told you, we'll just take any blocks shared after the second biggest update in the history of the Library!
And when exactly is that going to be?
The second biggest was the one before the most recent: 26 blocks!
No, what I mean is, when are you going to do this gigantic update you mentioned? You're really confusing me...
Offline
slinger wrote:
How do you add blocks to scratch?
Until the new download feature is finished, you have to do it the hard way. Do you know how to open the browser? Or how to use it?
Offline
Greenatic wrote:
scimonster wrote:
Greenatic wrote:
And when exactly is that going to be?The second biggest was the one before the most recent: 26 blocks!
No, what I mean is, when are you going to do this gigantic update you mentioned? You're really confusing me...
No-one said anything about a gigantic update.
Librarians, could someone do the update?
Offline