O$ 4.3.1.2 - Task Object Variable

Mark Phillips mark.phillips at mophilly.com
Tue Jul 23 11:20:34 EDT 2013


On Jul 22, 2013, at 5:13 PM, Michael Mantkowski <michaelj at clientrax.com> wrote:

> I am opening a window in the same library from a different library (task) and the function does not work.

Rather than rely on a Task Variable, which must follow scope rules, simply define the Object class where needed. For example, for many functions I will create a local variable defined by the necessary Object class. The class itself resides in a "utility" library file and is shared by all the "application" library files.

If you have initialization requirements you can add a public method to do the work and store long lived data in the Class Variables of the Object class. 

hth,

 - Mark

"I have not failed. I've just found 10,000 ways that won't work."
Thomas A. Edison, (attributed)
US inventor (1847 - 1931)




More information about the omnisdev-en mailing list