# What hapenned from yesterday to today?

**URL:** <https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718>\
**Category:** Questions about Thunkable X\
**Tags:** bugs, keyboard\_issue\
**Created:** [September 13, 2023, 3:43pm UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718 "2023-09-13T15:43:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcarmojmf](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mcarmojmf](https://community.thunkable.com/u/mcarmojmf)\
**Post date:** [September 13, 2023, 3:43pm UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718/1 "2023-09-13T15:43:34Z")

</div>

I had a function to validate whether a number contains the digit 0. Today it was completely disassembled and when I tried to create it with my students, it did not accept the placement of the number 0 in the logical equality block

If it’s not possible to do more the way I did? How is it possible to validate that my variable “secretNumber” contains the number zero? and send the alert?

 ![thunkable](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/a/ca495970fed2991e3f122cc30646f89d970a10cb.png)

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [September 13, 2023, 4:25pm UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718/2 "2023-09-13T16:25:26Z")

</div>

Hi @mcarmojmf, thanks for reaching out about this.

We released an update yesterday to our Blocks platform and updated some critical UI elements in the Blocks tab.

In updating this library, a change was made that will no longer allow users to compare different data types–strings vs numbers vs objects, etc. Using logic to compare these two data types is not possible so adding it into your app can cause issues.

In the screenshot you provided, the comparison is trying to be made between a string (app variable `palpite`) and a number (`0`). If you are wanting to compare the variable and 0, you would want to change 0 (an integer) to “0” a string so that the data types are the same.

---

<div class="post-metadata">

**Author:** ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)\
**Post date:** [September 13, 2023, 10:55pm UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718/3 "2023-09-13T22:55:35Z")

</div>

@mcarmojmf You should be able to put the blocks back together again. We’re sorry that a bug with our library upgrade caused your blocks to not be placed in the “=” blocks correctly.

---

<div class="post-metadata">

**Author:** ![mcarmojmf](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mcarmojmf](https://community.thunkable.com/u/mcarmojmf)\
**Post date:** [September 14, 2023, 12:11am UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718/4 "2023-09-14T00:11:50Z")

</div>

Thanks, Paul!!

---

<div class="post-metadata">

**Author:** ![mcarmojmf](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mcarmojmf](https://community.thunkable.com/u/mcarmojmf)\
**Post date:** [September 14, 2023, 12:17am UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718/5 "2023-09-14T00:17:38Z")

</div>

> [@matt\_conroy](#):
>
> Hi @mcarmojmf, thanks for reaching out about this.
> 
> We released an update yesterday to our Blocks platform and updated some critical UI elements in the Blocks tab.
> 
> In updating this library, a change was made that will no longer allow users to compare different data types–strings vs numbers vs objects, etc. Using logic to compare these two data types is not possible so adding it into your app can cause issues.
> 
> In the screenshot you provided, the comparison is trying to be made between a string (app variable `palpite`) and a number (`0`). If you are wanting to compare the variable and 0, you would want to change 0 (an integer) to “0” a string so that the data types are the same.

Of course Matt,

I realized this and made a change with the student today’s afternoon.

I put the secret number in string format and did the comparison then, everything worked fine.

Just one little student, 8-year-old who refused to make the change. 🤔 But I know it will give way if over time it doesn’t work. Hehehe

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 13, 2023, 12:17am UTC](https://community.thunkable.com/t/what-hapenned-from-yesterday-to-today/2593718/6 "2023-12-13T00:17:50Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
