Difference between revisions of "Version"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
| Line 6: | Line 6: | ||
include at least the following keys:  | include at least the following keys:  | ||
| − | * miniscript: a string such as "1.5"  | + | * 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"  | * 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  | + | * host: a number for the host app major and minor version, like 0.9  | 
* hostName: name of the host application, e.g. "Mini Micro"  | * hostName: name of the host application, e.g. "Mini Micro"  | ||
* hostInfo: URL or other short info about the host app  | * 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