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 struct

Descrption

Used to define a struct template.

Example

# struct with name "coordinate"
struct "coordinate";
	int x;
	int y;
struct;

# new struct is named c1
new "coordinate" "c1";

c1.x = 101;
c1.y = 202;

string structName = "randomTuple";

# struct with name "randomTuple"
struct structName;
	double data;
	string name;
struct;