Changeset 36:29e3b676c0c2 in xplra for test/basictest.py


Ignore:
Timestamp:
02/10/13 08:21:47 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added a new command to query the versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/basictest.py

    r35 r36  
    1212        xplane.connect()
    1313        print "Connected to X-Plane."
     14        print
     15
     16        print "Querying the versions..."
     17        (xplaneVersion, xplmVersion, xplraVersion) = xplane.getVersions()
     18        print "X-Plane version: %d, XPLM: %d, XPLRA: %03d" % \
     19               (xplaneVersion, xplmVersion, xplraVersion)
    1420        print
    1521
Note: See TracChangeset for help on using the changeset viewer.