Groups
Sign in
Groups
MIT App Inventor Forum
Conversations
Labels
About
Send feedback
Help
Global Variable lose value when exits Firebase when.Taglist
46 views
chrome
home-network
mit-appinventor-2
phonetablet-with-the-wifi
specific-programming-issue
windows-xp
Skip to first unread message
Fernando Agrello
unread,
Jan 9, 2018, 7:41:27 PM
1/9/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
1/10/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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