Discuss Scratch
- Discussion Forums
- » Suggestions
- » A brand new block
- dumbeller456
- Scratcher
32 posts
A brand new block
Hi Scratch Team!
So I would like a block that looks something like this.
It would be in the Operators category.
So what it does is that it replaces the letter at the place of the given word specified with another letter.
Good day!
So I would like a block that looks something like this.
It would be in the Operators category.
So what it does is that it replaces the letter at the place of the given word specified with another letter.
replace letter (1) of [ecratch] with [s] :: operators reporterI would appreciate it if you added this block!
Good day!
Last edited by dumbeller456 (Aug. 21, 2019 14:41:25)
This is my signature, which appears every time.
Then Danny took a look inside of it – CHOMP! CHOMP! CHOMP!
The rest of this signature was eaten by an evil kumquat.
- dumbeller456
- Scratcher
32 posts
A brand new block
Bump
This is my signature, which appears every time.
Then Danny took a look inside of it – CHOMP! CHOMP! CHOMP!
The rest of this signature was eaten by an evil kumquat.
- CatsUnited
- Scratcher
1000+ posts
A brand new block
You should only bump your post after 24 hours or if your topic is no longer on the first page of the forum it's in. BumpMore info
As for your suggestion, I don't see how many use cases there would be for that block that there's a good reason for that block to be added, considering that it's quite easily workaroundable with a method like this (although I think it could be more easily optimised):
set [var1 v] to [ecratch] // original textI think it would be good for you to mention what uses you think this would be good for and if that amount of use cases would be worth enough to not just do a workaround instead.
set [var2 v] to (letter (1) of (var1)) // grabs letter e
set [var3 v] to [cratch] // rest of var1 text
set [var2 v] to [s] // replaces var2 (which was just e) with s
set [var1 v] to (join (var2) (var3)) // combine var 2 and 3 together
Last edited by CatsUnited (Aug. 21, 2019 14:53:19)
bottom text
- dumbeller456
- Scratcher
32 posts
A brand new block
I am really sorry if the bump disturbed you.
This is my signature, which appears every time.
Then Danny took a look inside of it – CHOMP! CHOMP! CHOMP!
The rest of this signature was eaten by an evil kumquat.
- Paddle2See
- Scratch Team
1000+ posts
A brand new block
Dupe, sorry.Thanks for the link! It does look like this is a duplicate topic so I'll close it to keep the conversation all in one place.
Please use the existing topic in the link above.
Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)
;
- Discussion Forums
- » Suggestions
- » A brand new block