Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Returning Multiple Arguments?

Status
Not open for further replies.

calabrra

Technical User
Joined
Sep 16, 2003
Messages
14
Location
US
Hello,

Can an AWK function return more than one argument?

For example,

> return x, y;

Thanks
Bob
 
To the best of my knowledge, no. However since variables are global in awk by default you can just assign additional return values to some variables.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top