RE: Shared Data Implementation

2012-02-21 Thread David Helkenn
that you like better? C#, perhaps? -Original Message- From: Doug Geoffray [mailto:geoff...@gwmicro.com] Sent: Tuesday, February 21, 2012 3:17 PM To: gw-scripting@gwmicro.com Subject: Re: Shared Data Implementation Dave, You get to the toolkit's help by going to the Window-Eyes

RE: Shared Data Implementation

2012-02-21 Thread Katherine Moss
Now since you mentioned higher-level languages, why not use one that you like better? C#, perhaps? -Original Message- From: Doug Geoffray [mailto:geoff...@gwmicro.com] Sent: Tuesday, February 21, 2012 3:17 PM To: gw-scripting@gwmicro.com Subject: Re: Shared Data Implementation Dave

Re: Shared Data Implementation

2012-02-21 Thread Doug Geoffray
Dave, You get to the toolkit's help by going to the Window-Eyes Apps menu, going to the GW Toolkit option and opening it up. The first option in that pulldown is help, so select that. A dialog comes up with the "Launch Help" button selected by default. Hit enter and you are in the Windows

Re: Shared Data Implementation

2012-02-21 Thread David Helkenn
Thank you very much, Aaron! Now, if I could find the documentation on GWToolkit... I find the GW Micro Object model info in the documentation option of the WE control panel's help menu, but I don't find GWToolkit on AppCentral. Of course, I find the toolkit script info, but it does not seem lik

Re: Shared Data Implementation

2012-02-21 Thread Aaron Smith
On 2/21/2012 1:08 PM, Aaron Smith wrote: In addition, each app that does use your shared object will get their own copy to avoid inter-app mingling. I left out an important part that makes the previous sentence true. If you want everyone to have their own copy of the object, you have to share

Re: Shared Data Implementation

2012-02-21 Thread Aaron Smith
David, You can mimic what the GW Toolkit does: instantiate copies of classes as objects, and share them through the SharedObjects object. For example, perhaps you have a set of functions that you use in almost every app you develop. You would start by creating a global app that contains a cl

Shared Data Implementation

2012-02-21 Thread David Helkenn
Hello, Colleagues, I am designing two related apps that are viewed as two different scripts, but, they share common data elements (constants and arrays, and even a couple of routines.) If I were doing this in a high level programming language, I'd seriously consider making a class with the two