GPSALTUNIT

This function will return the current UNITS that your Altitude is calculated in. 

GPSALTUNIT()


PARAMETERS

NONE

EXAMPLE:

To return the current Units that your present Altitude is calculated in and store that value in a memory variable called AltitudeUnits: 

SETMEM(AltitudeUnits//GPSALTUNIT())

*NOTE:  This function requires an optional GPS device.  Please see the GPSOPEN and GPSINIT statements for further information on configuring your NMEA GPS device.