Discuss Scratch

Harakou
Scratcher
1000+ posts

split block

Merged a couple threads with the same/very similar ideas in this one.
dhfbei8987
Scratcher
1000+ posts

split block

Harakou wrote:

Merged a couple threads with the same/very similar ideas in this one.
Queen of the page, on a side note.

But back to the actual topic, support, it would be useful for syllables, word splits, etc.
guppyadrian
Scratcher
7 posts

split block

This is such a useful addition since many of my projects instead use a workaround that is very slow. Having a split function would also make nested lists much easier and faster.
k0d3rrr
Scratcher
1000+ posts

split block

Bump. (A duplicate topic was posted.)
Anyways, I have nothing to add to this because although I know what this block does, some people might not understand how this should work.

Last edited by k0d3rrr (March 29, 2022 21:07:45)

Tunde123
Scratcher
1000+ posts

split block

k0d3rrr wrote:

Bump. (A duplicate topic was posted.)
At least add to the topic before bumping. Otherwise it would be considered necroposting.
k0d3rrr
Scratcher
1000+ posts

split block

Tunde123 wrote:

k0d3rrr wrote:

Bump. (A duplicate topic was posted.)
At least add to the topic before bumping. Otherwise it would be considered necroposting.
I have fixed my post now.
wh8199
Scratcher
53 posts

split block

Support. Also, I don't think the workaround would actually work, because
add (letter (split_i) of (string::custom)) to (list::custom)


add (thing) to [list v] // the list is a rectangle dropdown, you can't put variables in those
I know this would work with an existing list, but it would still be useful to have a block to do this.

dertermenter
Scratcher
1000+ posts

split block

bump
Lets_Go235
Scratcher
1 post

split block

Bump
scratchcode1_2_3
Scratcher
1000+ posts

split block

Oli_The_Holy wrote:

(#70)

1234abcdcba4321 wrote:

no support, already workaroundable.
(let's be polite pls) TON of official blocks are “already workaroundable”. not an excuse for it to not have its own separate block. workarounds can be a pain for some, can take up a chunk of the code leading to slower speeds and not a lot of people who are pros at scratch
not to mention that the workaround is literally mildly complex
when green flag clicked
set [string v] to [i,would,like,an,iced,mocha,with,whipped,cream]
delete all of [list v]
set [divideChar v] to [,]
set [i v] to (0)
add [] to [list v]
repeat (length of (string))
change [i v] by (1)
if <(letter (i) of (string)) = (divideChar)> then
add [] to [list v]
else
replace item (length of [list v] :: list) of [list v] with (join (item (length of [list v] :: list) of [list v]) (letter (i) of (string)

end
i'm not even sure if this works lol

Powered by DjangoBB