View on GitHub

Concert

Concert is an imperative, concurrent, strongly typed scripting language

Download this project as a .zip file Download this project as a tar.gz file

Home Keywords

Keyword exit

Description

Exit the current script. Has effect of terminating program if run in main script.

Example

import string;
import math;
import io;

int count = 0;
mutex m;

function joinedCount : using count;
	while count < 1000000;
		lock m;
		
		if count < 1000000;
			count += 1;
		end;
		
		unlock m;
	end;
return;

join joinedCount;

# Return to main script
exit;