EXPORT vs AVars()
|
05-03-2016, 12:54 AM
(This post was last modified: 05-03-2016 01:11 AM by jgreenb2.)
Post: #1
|
|||
|
|||
EXPORT vs AVars()
I've started to fix up some old programs to be compatible with the latest firmware releases. A while back the function AVars() was added. However, I'm confused about what this actually does and how to best use it.
In my app I can declare: Code: EXPORT foo:="foo"; and this will create a variable that is scoped to the app. In other words I can access it from Home by either: Code: MyApp.foo or simply Code: foo if my current app is "MyApp". Alternatively I can write: Code:
But the result seems the same. Why bother with AVars at all? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
EXPORT vs AVars() - jgreenb2 - 05-03-2016 12:54 AM
RE: EXPORT vs AVars() - cyrille de brébisson - 05-03-2016, 04:49 AM
RE: EXPORT vs AVars() - jgreenb2 - 05-03-2016, 10:18 AM
|
User(s) browsing this thread: 2 Guest(s)