RosettaCodeData/Task/Call-a-function/AWK/call-a-function.awk

5 lines
195 B
Awk
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
BEGIN {
sayhello() # Call a function with no parameters in statement context
b=squareit(3) # Obtain the return value from a function with a single parameter in first class context
}