Another try: sizeof()
Kaj
On Monday, January 19, 2015 at 3:42:15 PM UTC+2, J Luis wrote:
>
> Thanks but again no, they all suffer from the same illness
>
> julia> length(tp)
> ERROR: MethodError: `length` has no method matching length(::foo)
>
> segunda-feira, 19 de Janeiro de 2015 às 13:28:39 UTC, Kaj Wiik escreveu:
>>
>> What about simply length()?
>>
>> julia> a=[]
>> 0-element Array{None,1}
>>
>> julia> length(a)
>> 0
>>
>> julia> a=[1,3]
>> 2-element Array{Int64,1}:
>> 1
>> 3
>>
>> julia> length(a)
>> 2
>>
>>
>> Kaj
>>
>>
>>