sub MAX {$t=pop; (grep{$t<$_?$t=$_:0}@_)[-1] }
Update:Changed code--it didn't handle negative numbers before. (thanks for the /msg chemboy)
The 15 year old, freshman programmer,
Stephen Rawls
In reply to Re: PGA Golf, Round 1
by srawls
in thread PGA Golf, Round 1
by jmcnamara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |