array_type()

Returns the type of elements in an AEL array. Since this function does not work on HPvars, ensure that the parameters passed are arrays.

See also: offset_array(), resize_array(), array_size(), array_lowerBound(), array_upperBound(), convert_array().

Syntax:

type = array_type(<arr>)

where

arr is a valid AEL array.

type is one of the following AEL strings: "integer", "real", "complex".

Example:
decl a = {{1,2,3},{4,5,6}};
decl b = convert_array(a,"complex");
fputs(stderr, array_type(a)); // outputs "integer"
fputs(stderr, array_type(b)); // outputs "complex"

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources