Difference between revisions of "Bot Playground/Built-in Functions/process.release"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Current script release for Store-purchased scripts.</onlyinclude> Script release consists of major, minor and patch numbers conn...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
<onlyinclude>Current script release for Store-purchased scripts.</onlyinclude>
+
<onlyinclude>Read-only property reflecting the script release version (for Store-purchased scripts).</onlyinclude>
  
Script release consists of major, minor and patch numbers connected with dot. For example:
+
Script release consists of major, minor and patch numbers connected with dot.
 
+
"05.00.01"
+
  
 
<syntaxhighlight lang="javascript">
 
<syntaxhighlight lang="javascript">
 
console.log(`Script ${process.name} started, release: ${process.release}`);
 
console.log(`Script ${process.name} started, release: ${process.release}`);
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
Example output:
 +
 +
"05.00.01"
  
 
{{NavMenu}}
 
{{NavMenu}}
 
__NOTOC__
 
__NOTOC__

Latest revision as of 15:10, 13 October 2022

Read-only property reflecting the script release version (for Store-purchased scripts).

Script release consists of major, minor and patch numbers connected with dot.

console.log(`Script ${process.name} started, release: ${process.release}`);

Example output:

"05.00.01"