[Gambas-user] App idle with long loops

Demosthenes Koptsis demosthenesk at ...626...
Sat Oct 8 14:08:55 CEST 2016


Hello,

i have very long (time consuming) For loops and my app is frozen until 
loop is finished.

for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To 
sOUTPUT

   'get urls
   For i = 0 To iDepth
     wgetURLS(i * 10)
   Next

Public Sub wgetURLS(iStart As Integer)
.....

Shell("wgetURLS.sh") To sOUTPUT

.....

--------------

Is there possible to set the gui idle and the same time run For...loops?





More information about the User mailing list