# Zcoord(a)

Returns the Z value of a coordinate.

Function only- no corresponding object

### Syntax

o_Zcoord(a)
  a: scalar or Array1D Coord - coordinate to be examined
  return: scalar or Array 1D - the Z value of the input coordinate

### Usage

Use this to access the Z value from coordinate within an expression.

### Location

menu: no menu pick - to access use the Function and Object browser

library: dataLib

### Example

Given coordinate (1,2,3), o_Zcoord returns 3

### Notes

While VEE syntax provides the ability to create and examine Complex and PComplex data within expressions, it lack the ability to do the same with coordinates. Hence one is left with the often-clumsy need to use the Build and Unbuild Coord objects instead. This function allows one to unbuild a coordinate within an expression.

### Reference

### Dependencies

### Supported On

VEE 7.0+, all platforms

### See Also

toCoord, Xcoord, Ycoord

© 2015-2017. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 24 February 2017 09:07.