Thanks a lot Simon! xdump works.
Do the other functions require some package to be installed? I am running
julia 0.3.6 and the command
*fieldnames(data) * gives
*ERROR: fieldnames not defined*
On Wednesday, May 6, 2015 at 10:35:59 AM UTC-4, Simon Danisch wrote:
>
> Checkout:
> xdump(data)
> fieldnames(data)
> fieldnames(dat)
> fieldtype(data, :a)
>
> Best,
> Simon
>
> Am Mittwoch, 6. Mai 2015 16:27:24 UTC+2 schrieb Alexandros Fakos:
>>
>> Hi,
>>
>> Suppose I have
>>
>> type dat
>> a :: Array{Float64,1}
>> b :: Float64
>> end
>>
>> and variable *data *of type *dat*
>>
>> is there a function that prints out the fields of *data* with some
>> information about each field?
>>
>>
>> Thanks a lot,
>> Alex
>>
>