[Gambas-user] A Dim syntax question

Benoit Minisini gambas at ...1...
Wed Sep 17 01:03:56 CEST 2008


On vendredi 12 septembre 2008, richard terry wrote:
> If one types in a subroutine
>
>     Dim pn As cProgressNote
>     pn = New cProgressNote
>
>   could one just do it in one hit without consquences?
>
>   Dim pn as New cProgressNote?
>
> Regards
>
> Richard
>

Yes. The generated bytecode is exactly the same.

-- 
Benoit Minisini




More information about the User mailing list