1. Win32Lib, aborting a program

How do you automaticly exit a win32lib app when it is done?
Im making a script runner. It reads a file, sets some command line 
switchs for blat, calls blat with said switch's then needs to exit


Grape Vine
13728824

new topic     » topic index » view message » categorize

2. Re: Win32Lib, aborting a program

closeWindow() or abort()

----- Original Message ----- 
From: "Grape Vine" <g__vine at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Subject: Win32Lib, aborting a program


> 
> 
> How do you automaticly exit a win32lib app when it is done?
> Im making a script runner. It reads a file, sets some command line 
> switchs for blat, calls blat with said switch's then needs to exit
> 
> 
> Grape Vine
> 13728824
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32Lib, aborting a program

Hi Grape Vine,

> returns abort() not defined

Try please:

---prog1.exw
integer i
i=system_exec("exw.exe prog2.exw", 2)
? i
while get_key()=-1 do end while
------- end of prog1.exw

---prog2.exw
integer a a=500
integer b b=2
abort(a*b)
------- end of prog2.exw

Run prog1.exw and see result from prog2.exw.

May be, this trick can help ?

If I understand your problem ...

Regards,
Igor Kachan
kinz at peterlink.ru

> DOH! i knew about closewindow(), abort() 
> returns abort() not defined
> 
> jjnick at cvn.com wrote:
> > closeWindow() or abort()
> > 
> > > 
> > > How do you automaticly exit a win32lib 
> > > app when it is done?
> > > Im making a script runner. It reads a file, 
> > > sets some command line 
> > > switchs for blat, calls blat with said 
> > > switch's then needs to exit
> > > 
> > > Grape Vine
> > > 13728824
> > > 
> > 
> 
> Grape Vine
> 13728824

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu