Tips_todo   >   Objectclasses   >   Custom Constants
In Omnis Classic you would store your 'global variables' in MOFFs (Memory Only File Formats). With Omnis Studio you can still do that, but it isn't a really clean OO type of a solution.
Click open the "Using object classes" node below to see how you can use class variables in object classes called "oConstants" for storing and retrieving custom constants (or global variables).
Another alternative for storing global variables is using task class variables, as explained by Kevin James. The only downside, which Kevin mentions, is that even though these variables are global in scope they are not globally 'visible' to the developer. You have to memorize them. See Task Class Variables for more info.