[Gambas-user] INC Application.Busy

Rob sourceforge-raindog2 at ...94...
Tue Jul 1 16:44:37 CEST 2003


On Tuesday 01 July 2003 09:09, Henry Ismaili wrote:
> INC Application.Busy
> DEC Application.Busy
> Can someone explain what this does ?

INC adds 1 to the variable upon which it acts; DEC subtracts 1.  
C/Perl/Javascript people can think of it as

Application.Busy++
Application.Busy--

and of course certain flavors of assembler programmers will also feel right at 
home, if only with these two operators ;)

See:
http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasINC
http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasDEC

for some illuminating example code...

Rob





More information about the User mailing list