Make text trait of objects never be usable as a number

A feature I’d like to see in Hopscotch is:

The text property which you set using set text should only ever be text, never numbers.

I’d use it for this type of project:

PRojects where I want a variable to be guaranteed to be text that will never behave as a number

Here are some examples of Hopscotch code that could be improved if we had this:

Code where you want a text string that behaves as a text string even if it is only made of digits

16 Likes

Yes please

Had this problem earlier today

6 Likes

Wdym? I’m DONT get it

1 Like

variable (self) text shouldn’t allow numbers in it

1 Like

What if you want to set text to a number? Like set text to (score)

1 Like