Difference between revisions of "Version"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>version</c> gets a map with information about the version of MiniScript and the host environment that you're currently running. === Usage Notes === <c>version</c> will in...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
<c>version</c> will
 
<c>version</c> will
 
include at least the following keys:
 
include at least the following keys:
miniscript: a string such as "1.5"
+
 
buildDate: a date in yyyy-mm-dd format, like "2020-05-28"
+
* miniscript: a string such as "1.5"; version of the MiniScript language itself
host: a number for the host major and minor version, like 0.9
+
* buildDate: a date in yyyy-mm-dd format, like "2020-05-28"
hostName: name of the host application, e.g. "Mini Micro"
+
* host: a number for the host app major and minor version, like 0.9
hostInfo: URL or other short info about the host app
+
* hostName: name of the host application, e.g. "Mini Micro"
 +
* hostInfo: URL or other short info about the host app
  
 
[[Category:Intrinsic Functions]]
 
[[Category:Intrinsic Functions]]

Latest revision as of 13:19, 11 December 2021

version gets a map with information about the version of MiniScript and the host environment that you're currently running.


Usage Notes

version will include at least the following keys:

  • miniscript: a string such as "1.5"; version of the MiniScript language itself
  • buildDate: a date in yyyy-mm-dd format, like "2020-05-28"
  • host: a number for the host app major and minor version, like 0.9
  • hostName: name of the host application, e.g. "Mini Micro"
  • hostInfo: URL or other short info about the host app