Language Features

Sample programs exercising many features of the Unicon language may be found here. The programs can either be run interactively, or compiled to Java.

To run the samples interactively, download a sample, for example QuickSort.icn, and type:

		junicon -i QuickSort.icn
	
From within Junicon, then type:
		QuickSort.main("100");
	
Alternatively, you can run the program as a batch script by typing:
		junicon QuickSort.icn 100
	
The other sample programs similarly take one input argument for the sample size.

To compile the programs to Java, please see the section on Running Junicon.