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...")
 
Line 2: Line 2:
 
<onlyinclude>Current script release for Store-purchased scripts.</onlyinclude>
 
<onlyinclude>Current script release 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__

Revision as of 15:09, 13 October 2022

Current script release 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"