Determine if only one instance is running: Difference between revisions

Content added Content deleted
m (BaCon moved to the BASIC section.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 1,383: Line 1,383:


Otherwise, the script completes normally and the special file is deleted just before it exits.
Otherwise, the script completes normally and the special file is deleted just before it exits.
<syntaxhighlight lang="ecmascript">import "io" for File, FileFlags
<syntaxhighlight lang="wren">import "io" for File, FileFlags


var specialFile = "wren-exclusive._sp"
var specialFile = "wren-exclusive._sp"