[Gambas-user] Array.Sort
T Lee Davidson
t.lee.davidson at ...626...
Fri Jan 9 01:54:37 CET 2015
On 01/08/2015 07:12 PM, Benoît Minisini wrote:
> 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. »
>
> :-)
>
Somehow simple always seems to promote clarity. But, I'll leave it to Lewis to edit his edit. :-)
More information about the User
mailing list