Post Reply 
Prime app variables
12-13-2013, 04:02 PM
Post: #2
RE: Prime app variables
Your understanding of how app variables work is just fine. The only notes I can add are:

  1. The prefix MyApp is not necessary within the source code of the app. In fact, you generally only need use it when outside of the scope of the app. It is very much like a C/C++ class in which one does not need to explicitly have the class prefix when referring to objects within that class.
  2. Don't EXPORT variables which you do not intend to be visible to the user. It may be the case that you want manual access to all the variables, so this can be ignored. But if you don't need to know the values outside of the solver app, then leave them "hidden" by removing the EXPORT directive. This will make the memory browser less cluttered with seemingly duplicate variables. Some, however, you have no control over (such as built-in variables that are inherited in a custom app) though these do not appear in the memory browser.
  3. Hidden variables still take up memory -- you will see it as part of the size of the custom app.


The memory browser is currently very basic in form. Your observations are correct -- there is currently no way to distinguish vars in one app from vars from another app if they happen to have the same name.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime app variables - Jonathan Cameron - 12-13-2013, 03:33 PM
RE: Prime app variables - Han - 12-13-2013 04:02 PM
RE: Prime app variables - Jonathan Cameron - 12-13-2013, 05:27 PM
RE: Prime app variables - Han - 12-13-2013, 05:42 PM
RE: Prime app variables - Jonathan Cameron - 12-13-2013, 06:17 PM
RE: Prime app variables - Han - 12-13-2013, 07:28 PM
RE: Prime app variables - Bob Frazee - 12-13-2013, 09:44 PM
RE: Prime app variables - Han - 12-14-2013, 02:36 AM
RE: Prime app variables - Bob Frazee - 12-14-2013, 03:19 PM
RE: Prime app variables - Han - 12-14-2013, 09:19 PM
RE: Prime app variables - Bob Frazee - 12-15-2013, 04:02 AM
RE: Prime app variables - Han - 12-15-2013, 04:37 AM
RE: Prime app variables - Bob Frazee - 12-16-2013, 12:40 AM



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