Addition with words in set text blocks ≠ math correctly

Use this template to make awesome bug reports:

Your username:
My forum name but with no “_”
What kind of device are you using?:
iPad Pro 10.something inch

1 sentence description of the problem (I was doing _________, and then __________ happened):
I was coding a project when I tried to add a name with a number in a set text block, and then it just displayed the number.

Steps that the Hopscotch team can take to reproduce my problem every time:

  1. Set text ( Freddy + random 1-9
    2.play le project
    ….

I expected this to happen:
The project to display “Freddy”
But instead this happened:
It displayed “1”

Here’s a sweet screenshot or two cuz FW123 is awesome:


2 Likes

Just remove the text and everything is fine.

Confusion? What?

2 Likes

You’re trying to do 8 + random 1 and 9, right? But instead it has Fred + random 1 and 9. Replace Fred with 8.

But I want it to say fred8

1 Like

So just set text to what you want it to be

1 Like

Oh, like Fred [random number between 1 and 9]?

1 Like

He’s exactly

2 Likes

Lol I didn’t even know you could do that. Maybe it’s only possible w/ beta editor, and since you don’t have it anymore it won’t work?

1 Like

But it let me write that… so it should work

2 Likes

Didn’t work for me. I copy/pasted tho.

1 Like

I set text to “Freddy” then added + random 1-9

2 Likes

Yeah, I don’t think it’s possible. The letting you put text in math like that might just be the bug.

Ok, maybe so, tho that would be rlly cool if it rlly worked outside of the beta editor

1 Like

It would be, but sadly, no.

Ok, I’m going to bed soon, so yeah…

1 Like

Okay. @Leaders just curious, if it’s okay with @FRENCH_WAVE123, should this be clived, or should it remain open for a bit longer?

Why Clive? This doesn’t work, and should. If I were a new hser I honestly would give up on hs if this didn’t work lol

1 Like

Then maybe this should be a suggestion for a new feature and not a bug report?

But it’s a bug… Fred + 1 = fred1. Math

1 Like