GPSFix objects
Indicates the height above mean sea level in meters of the current position fix.
The Altitude property is a real number indicating the height of a GPS fix above mean sea level. The following lines create a SerialGPS object, retrieve information about the current fix, and write the altitude to a single line edit box:
SerialGps myGPS GPSFix myFix
Integer rc MyGPS = CREATE SerialGPS rc = myGPS.Open() ... rc = MyGPS.GetFix(myFix) sle_1.txt = "Altitude: " + String(myFix.Altitude) + "M"
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |