RosettaCodeData/Task/Scope-Function-names-and-labels/AWK/scope-function-names-and-labels.awk
2023-07-01 13:44:08 -04:00

9 lines
187 B
Awk

# This program outputs a greeting
BEGIN {
sayhello() # Call the function defined below
exit
}
function sayhello {
print "Hello World!" # Outputs a message to the terminal
}