Discuss Scratch
- ScolderCreations
- Scratcher
1000+ posts
TextVariables
that's way too confusing I think a custom reporter will be better:say (formatted text [something {foo} {bar}] :: operators)
- imfh
- Scratcher
1000+ posts
TextVariables
I agree, that way you don’t have to worry about confusion when someone tries to use the { } brackets but doesn’t know about the formatting. It would also help prevent a potentially major performance decrease caused by parsing every single text input each and every time they are used. Note that the comparison operators ( <=> ) have text inputs, so quite a lot of extra parsing would be done. I think a custom reporter will be better:say (formatted text [something {foo} {bar}] :: operators)
Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
- mybearworld
- Scratcher
1000+ posts
TextVariables
Python implements f-strings like this too: I think a custom reporter will be better:say (formatted text [something {foo} {bar}] :: operators)
print(f"{foo} {bar}")
Signatures are the only place where assets links still work.
- dertermenter
- Scratcher
1000+ posts
TextVariables
I just think all code in scratch should be blocked based - and it’s inconsistent to have just 1 feature that is text based. This also defeats the purpose of the join block.
All suggestions are unnecessary. If a suggestion is necessary then it's a bug report.
repeated privilege, not an expectationApril Fools Day on the forums has been a
- mybearworld
- Scratcher
1000+ posts
TextVariables
This also defeats the purpose of the join block
join ((1)+(foo)) ((bar)+(2))
Signatures are the only place where assets links still work.
- dertermenter
- Scratcher
1000+ posts
TextVariables
I don’t get your pointThis also defeats the purpose of the join blockjoin ((1)+(foo)) ((bar)+(2))
All suggestions are unnecessary. If a suggestion is necessary then it's a bug report.
repeated privilege, not an expectationApril Fools Day on the forums has been a
- imfh
- Scratcher
1000+ posts
TextVariables
The formatting only works with variables; it doesn’t work if you want to use a variable + 1 or something.I don’t get your pointThis also defeats the purpose of the join blockjoin ((1)+(foo)) ((bar)+(2))
Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/