March 2018
Beginner to intermediate
416 pages
9h 24m
English
The definition of functions can be given anywhere between the rules of an AWK program. It is not mandatory in AWK to define a function before calling it because AWK first reads the entire program before it starts to execute it. The general syntax for defining a user-defined function is as follows:
function function_name(argument1, argument2, …local variable.) { body-of-function }
Read now
Unlock full access