versionsAndBuildsEqual()

Checks if the versions and build date-time stamps are equal. If versions are NULL, only build date-time stamps are compared for equality.

Syntax

versionsAndBuildsEqual(
     version1 STRING, 
     version2 STRING, 
     build1 gwa.app.TBuildDateTime,
     build2 gwa.app.TBuildDateTime) 
  RETURNS BOOLEAN
  1. version1 holds the version number.
  2. version2 holds the comparison version number.
  3. build1 holds a TBuildDateTime record with the build date-time stamp.
  4. build2 holds a TBuildDateTime record with the comparison build date-time stamp.
Returns TRUE if the versions/build date-time stamps match.

Usage

Use the versionsAndBuildsEqual() method to check if the versions and build date-time stamps are equal. If versions are NULL, only build date-time stamps are compared for equality.

For a complete example, run the GWA "update" demo in your GWA installation directory. If installed in FGLDIR, you will find the demo in $FGLDIR/demo/gwa/update or if installed in a separate directory, you will find it in gwa-install-dir/demo/gwa/update.