[Gambas-user] Array.Sort
Benoît Minisini
gambas at ...1...
Fri Jan 9 01:12:50 CET 2015
Le 09/01/2015 01:09, T Lee Davidson a écrit :
> "The empty set of parentheses is REQUIRED when sort is used as a function to return an array without the optional mode parameter"
>
> I don't know. Wouldn't it be more accurate to say that the parentheses are required to be able to use the function call as the object which it
> returns; as opposed to the syntax, without the parentheses, referring to the function itself?
>
>
> Lee
Why not just say that?
« You can omit the "()" at the end of a function or method call
statement only. If you don't understand the previous sentence, always
use "()" to call a function or a method. »
:-)
--
Benoît Minisini
More information about the User
mailing list