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...")
 
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"
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 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]]

Revision as of 03:03, 19 March 2020

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"
  • buildDate: a date in yyyy-mm-dd format, like "2020-05-28"
  • host: a number for the host 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