December 2017
Intermediate to advanced
260 pages
7h 34m
English
We will be taking two arguments from the command line:
The following code block shows how to read arguments passed from the command line:
// Get command line input if (args.size != 2) { println("Usage: csv_filename column_number") return } val fileName = args[0] val columnNumber = args[1].toInt()
For example, csv.exe books.csv 1.
Read now
Unlock full access