how to assing value to a variable?

Post your questions and help other users.

Moderator: Martin

Post Reply
wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

how to assing value to a variable?

Post by wfrcrd » 04 Oct 2017 10:24

A very simple question:
I need to assign a value (0 or 1) to a global variable. I need it to check if an action has been performed or not. What action should I use, for example to set the global variable A to 1?
Thank you!

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: how to assing value to a variable?

Post by Desmanto » 04 Oct 2017 13:12

Action Script, put it after the action you wanna check. If no error, the flow usually should continue and execute the script.

Code: Select all

global_A = 1;
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: how to assing value to a variable?

Post by wfrcrd » 06 Oct 2017 17:00

Really thank you !

Post Reply