Post Reply 
Check if an app is active, use AVar()
07-19-2015, 03:28 PM
Post: #10
RE: Check if an app is active, use AVar()
(07-19-2015 06:58 AM)Tyann Wrote:  hello
Each application has its Avars list.
Add an Active Variable : = "name" or number.
In Astro: Avars "Active" : = " Astrolab "
in Function
Avars "Active" : = "Function"
Etc ...

If Avars "Active" not exist, write

Code:

Local vctrl
IFERR vctrl:=Avars("Active") THEN
 vctrl:=""
END;
Sorry for my English.


I'm trying, thank you.
The problem seems still the "unmatch control word" error when Astro Lab is not active, executing its function in the program: also the ELSE path of IFERR gives error and I don't know how to avoid it...

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Check if an app is active, use AVar() - salvomic - 07-19-2015 03:28 PM



User(s) browsing this thread: 1 Guest(s)