Global Variable lose value when exits Firebase when.Taglist

46 views
Skip to first unread message

Fernando Agrello

unread,
Jan 9, 2018, 7:41:27 PM1/9/18
to MIT App Inventor Forum
Look at the picture
In Part 1 I declare TagList as global
In Part 2 I show a message with the value and it is correct
but 
In Part 3 outside the when.taglist it seems that the value of TagList variable is lost
Why?

Many Thanks
Fer
blocks.JPG

Farzeen Harunani

unread,
Jan 10, 2018, 9:17:01 AM1/10/18
to MIT App Inventor Forum
Hi,
In your diagram, 2 happens AFTER 3. So, the code in 2 hasn't run yet when 3 runs. 
Farzeen
Reply all
Reply to author
Forward
0 new messages