[jawsscripts] Re: Making an object globaly avilable

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 28 Oct 2012 10:57:55 -0800

You declare the object outside the script/function but initialize it
in the function as normal

var
  object vs_jaws

Function AutoStartEvent()
  vs_jaws  = = GetObject("Connect")
EndFunction

On 10/28/12, Andy B. <sonfire11@xxxxxxxxx> wrote:
> I was wondering how you make an object globally available? I have this code
> in the AutoStartEvent:
>
>
> Var object vs_jaws = GetObject("Connect")
>
>
>
> Which tends to work, but how do you make it available outside of the
> AutoStartEvent?
>
>
>
>
>
> __________ï
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________ï

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: