h(
h(
RECTANGLE
)

The h( function extracts the horizontal position from a point (see point(, Graphic Coordinates).

Parameters

This function has one parameter:

rectangle – is a binary value that includes both the vertical and horizontal components of a position. This number is usually created with the point(, info(“click”), or info(“mouse”) functions.

Description

This function returns the horizontal position of the point (in points). This position is expressed as a floating point number.

Error Messages

h( function requires a binary parameter. – The input to this function must be a binary value generated by the point( function (or any other function that generates a binary point value).

See Also

- point( -- combines vertical and horizontal co-ordinates into a single binary value that describes the position of a point (see Graphic Coordinates).
- v( -- returns the vertical position of a point (see point(, Graphic Coordinates).

History

Version | Status | Notes
10.0 | Updated | This function returns a floating point number (Panorama 6 and earlier versions returned an integer value).