Discuss Scratch
- mybearworld
-
1000+ posts
split blocks
Interesting idea.
First I thought that could only be used for getting the decimal points
So, I support.
First I thought that could only be used for getting the decimal points
(number) - (round (number))But after your listings, I see that there is a workaround, but it's complicated.
So, I support.
- Vract0
-
100+ posts
split blocks
Should I make a project with a custom block that acts like that operator?
- mitdk
-
1000+ posts
split blocks
You could but.. Should I make a project with a custom block that acts like that operator?
Interesting idea.like mybearworld said the workaround is rather complicated and even harder when making multiple sections.
First I thought that could only be used for getting the decimal points(number) - (round (number))But after your listings, I see that there is a workaround, but it's complicated.
So, I support.
Last edited by mitdk (Sept. 28, 2020 15:27:58)
- mitdk
-
1000+ posts
split blocks
Plus, it just doesn't make sense(at least to me) to have join but not split
- mitdk
-
1000+ posts
split blocks
Oh, yes, this could also be used for a user input of coordinates to get the x and y.
when green flag clicked
ask [Give me x and y with a comma] and wait
set [ num v] to (answer)
set [x v] to (section(1) of split(num) on character[,]::operators)
set [y v] to (section(2) of split(num) on character[,]::operators)
Last edited by mitdk (Oct. 1, 2020 18:40:25)
- mitdk
-
1000+ posts
split blocks
do you think my suggestion for simplifying helps? It may seem a little complicated to beginning Scratchers. Sorry, but no support. I may support it if the block name was easier to read.
or maybe it would make more sense with some fillers in the block menu? It may seem a little complicated to beginning Scratchers. Sorry, but no support. I may support it if the block name was easier to read.(section(1) of split[apple, banana] on character[,]::operators)
Last edited by mitdk (Oct. 1, 2020 18:09:31)
- mitdk
-
1000+ posts
split blocks
If you look at this and think this suggestion is the same as this,
Here is the difference.
a2b
for my block:
a2b2c
This is because on my block it is asking for the character to split on, not the character number.
(section( v) of split[] on character()::operators)
Here is the difference.
(section( v) of split[] on character()::operators)this block would be used like this:
(section(1 v) of split[a2b2c4jjj] on character(4)::operators)output would be:
a2b
for my block:
(section(1) of split[a2b2c4jjj] on character[4]::operators)output would be:
a2b2c
This is because on my block it is asking for the character to split on, not the character number.
Last edited by mitdk (Oct. 1, 2020 18:41:05)
- mitdk
-
1000+ posts
split blocks
Does that mean no support? woah thats just very confusing haha lol XD
- MartianSoil
-
100+ posts
split blocks
I support this because it would make cloud multiplayer just a bit easier to make.
You could do things with this as a feature such as this:
You could do things with this as a feature such as this:
(section(1) of split(☁ player 1) on character[4]::operators)
- mitdk
-
1000+ posts
split blocks
By character 4, do you mean character #4 or the character ‘4’ I support this because it would make cloud multiplayer just a bit easier to make.
You could do things with this as a feature such as this:(section(1) of split(☁ player 1) on character[4]::operators)
because i stated the difference on another post
If you look at this and think this suggestion is the same as this,(section( v) of split[] on character()::operators)
Here is the difference.(section( v) of split[] on character()::operators)this block would be used like this:(section(1 v) of split[a2b2c4jjj] on character(4)::operators)output would be:
a2b
for my block:(section(1) of split[a2b2c4jjj] on character[4]::operators)output would be:
a2b2c
This is because on my block it is asking for the character to split on, not the character number.
Last edited by mitdk (Oct. 1, 2020 20:50:30)
- mitdk
-
1000+ posts
split blocks
But you are right, it can be used like this: I support this because it would make cloud multiplayer just a bit easier to make.
You could do things with this as a feature such as this:(section(1) of split(☁ player 1) on character[4]::operators)
when green flag clicked
forever
encode(something)::custom
repeat (length of (var))
set [score v] to (join (score) (letter (counter::variables) of (var))
if <(length of (score)) = [256]> then
set [score v] to (join (score) [,])
end
end
set [☁ score v] to (section(1) of split(score::variables) on character[,]::operators)
set [☁ score2 v] to (section(2) of split(score::variables) on character[,]::operators)
end
Last edited by mitdk (Oct. 5, 2020 18:10:25)
- mitdk
-
1000+ posts
split blocks
(section() of split() on character()::operators)The reason i did not include this in my suggestion is because i was pretty sure it would be a duplicate
Last edited by mitdk (Oct. 5, 2020 18:12:57)
- MartianSoil
-
100+ posts
split blocks
By character 4, do you mean character #4 or the character ‘4’ I support this because it would make cloud multiplayer just a bit easier to make.
You could do things with this as a feature such as this:(section(1) of split(☁ player 1) on character[4]::operators)
because i stated the difference on another postIf you look at this and think this suggestion is the same as this,(section( v) of split[] on character()::operators)
Here is the difference.(section( v) of split[] on character()::operators)this block would be used like this:(section(1 v) of split[a2b2c4jjj] on character(4)::operators)output would be:
a2b
for my block:(section(1) of split[a2b2c4jjj] on character[4]::operators)output would be:
a2b2c
This is because on my block it is asking for the character to split on, not the character number.
I mostly just meant that the 4 could be whatever; I just put 4 because I didn’t know which number to put.
- mitdk
-
1000+ posts
split blocks
Oh, OK. wanted to make sure i did not get a false support.By character 4, do you mean character #4 or the character ‘4’ I support this because it would make cloud multiplayer just a bit easier to make.
You could do things with this as a feature such as this:(section(1) of split(☁ player 1) on character[4]::operators)
because i stated the difference on another postIf you look at this and think this suggestion is the same as this,(section( v) of split[] on character()::operators)
Here is the difference.(section( v) of split[] on character()::operators)this block would be used like this:(section(1 v) of split[a2b2c4jjj] on character(4)::operators)output would be:
a2b
for my block:(section(1) of split[a2b2c4jjj] on character[4]::operators)output would be:
a2b2c
This is because on my block it is asking for the character to split on, not the character number.
I mostly just meant that the 4 could be whatever; I just put 4 because I didn’t know which number to put.

- MeIzAwezomeDede
-
1000+ posts
split blocks
Support! There have been multiple scenarios where this would've been helpful. I've been able to work-around them everytime, but as stated above, it's super complicated and takes up too much space.
- mitdk
-
1000+ posts
split blocks
I think dupe?Maybe… but i do think that this has more replies(sorry if i have got this logic wrong, please correct me if i did) and things are still more or less in one place(which is the reason dupes are shut down).
Last edited by mitdk (Oct. 10, 2020 18:52:35)
- cwkavery46304
-
29 posts
split blocks
wowsupport!
we need splitting!
1. text engines
2. i have no idea