[Gambas-user] Gambas Internet Cafe

Benoit Minisini gambas at ...1...
Tue Mar 30 20:19:06 CEST 2004


On Tuesday 30 March 2004 15:45, Rob wrote:
> On Tuesday 30 March 2004 13:31, danielcampos at ...282...
>
> wrote:
> > cutofftime = Now() + (1.0/24.0)
>
> However, my program does compile and run correctly using the
> following line:
>
>     cutofftime = Now + (1.0/24.0)
>
> Rob
>

Braces are not required when a Gambas subroutine or a procedure does not take 
parameters. This is NOT the case with normal functions.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list