Callbacks or support for 'non blocking'

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Callbacks or support for 'non blocking'

Post by jassing »

There are some functions that process files:
AddPackFile() , md5 calculations, ftp file transfers, etc.
It would be nice if there could be a callback specified so we can update a progress bar/status on the process.
Failing a callback; a 'non blocking' parameter and then a "GetStatus()" type function.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Callbacks or support for 'non blocking'

Post by c4s »

Sounds pretty much like a request I made a while ago: http://www.purebasic.fr/english/viewtop ... =3&t=47051
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Callbacks or support for 'non blocking'

Post by jassing »

c4s wrote:Sounds pretty much like a request I made a while ago: http://www.purebasic.fr/english/viewtop ... =3&t=47051
So it'll never happen then... Oh well.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: Callbacks or support for 'non blocking'

Post by RichAlgeni »

Like the 'Asynchronous' parameter in SendMail()?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Callbacks or support for 'non blocking'

Post by jassing »

RichAlgeni wrote:Like the 'Asynchronous' parameter in SendMail()?
no, like a callback or way to obtain the current status.
Post Reply