type
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Show or change an objects data type. Identical to format
Arguments and Return Values Arguments: a numeric array Return Value: string containing data format/type
Usage Syntax: type(object = VAL [, format = BYTE/SHORT/INT/FLOAT/DOUBLE]) The type() function reports or changes the data format of an object. If used with only one argument, the data format of the object specified by the argument is reported as a string. The return values are one of:
Examples dv> a 4x3x1 array of float, bsq format [48 bytes] 0.947578 0.792789 0.507263 0.826081 0.772994 0.0223106 0.0498551 0.427454 0.428879 0.514308 0.264948 0.656318 dv> type(a) "float" dv> type(a,int) 4x3x1 array of int, bsq format [48 bytes] 0 0 0 0 0 0 0 0 0 0 0 0 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |