[scilab-Users] Difference between function return value and literal

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Fri Jul 16 15:31:02 CEST 2010


Mike Page <Mike at Page-One.Waitrose.com> a écrit :

> The type of a dimension vector is int32.

It depends on how dims are extracted:
size(1:uint8(10))        // is real
size(list("bsg",%pi,%z)) // is real
s=struct();s(3,2).test="OK"; size(s) // is real..
s.dims,typeof(s.dims)  // is int32 as you pointed out

By the way, one could wonder why not uint32...

Samuel




More information about the users mailing list