Frontier Version

Compatibility: 4.2.3 - 5.0.2b - 5.1.2+ - 6.0 - MacOS - Windows

FrontierVersion() constructs the long string representation of the Frontier version you're running, and presents it in a dialog.

The actual version string is assembled by another script, fullFrontierVersion. Note that although it works fine with Frontier 6, it has not been updated to show the revision date/serial number.

on FrontierVersion()
   dialog.alert( user.command.fullFrontierVersion() )

on fullFrontierVersion()
   << Assemble Frontier version info.
   local
      strOutput = "Frontier: "
   strOutput = strOutput + file.getVersion(Frontier.getProgramPath())
   if ( frontier.version() beginsWith "5.0.2" )
      strOutput = strOutput + " ru-" + workspace.newParts.notes.serialNum + "\r"
   if ( frontier.version() beginsWith "5.1" )
      strOutput = strOutput + " updated " + user.rootUpdates.servers.Frontier.lastupdate + cr
   return ( strOutput )
bundle // Display the information we collected.
   dialog.alert( fullFrontierVersion() )


I have embedded the above script(s) in this page as mimi data. To retrieve the script(s), either (1) View Frame Source in your browser and copy the mimi blocks, (2) save the page as source text and import it using the Mimi->Import From File command, or (3) (if you are on a Mac) select Mimi->Web Page->Import From Web Page.

Copyright © 1998, 1999 by Samuel Reynolds. All rights reserved. Last modified 1999/05/19.
Built with Frontier v.6.0 on Macintosh OS 8.1 on 1999/05/23.