Hi,
I have a text in txtfile ready to be used as a code in action Script.
I copied that text to variable 'var_code' using action 'init variable text folder'.
Is there any way to use the value of that variable as code?
Is it possible to use variable's value as code in Script?
Moderator: Martin
Re: Is it possible to use variable's value as code in Scrip
use eval()
If you need to create a custom defined function, you can design it like this : viewtopic.php?f=5&t=7739
Just make sure your code is already tested before changing it to text.
Code: Select all
eval(var_code)
Just make sure your code is already tested before changing it to text.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Is it possible to use variable's value as code in Scrip
Awesome!
Thank you.
Thank you.