O HAI I IZ functionname
BTW MAH functionname holds the variables passed to function, like perl's @_
I HAS A VAR1 ITZ MAH functionname!!0
I HAS A VAR2 ITZ MAH functionname!!1
I HAS A RESULT
RESULT IS VAR1 TIEMZ VAR2
I FOUND TEH RESULT
BTW I like 'I FOUND TEH' for return
KTHX
call functions with:
I HAS A VAR3
VAR3 IZ functionname WIF VAR1 VAR2
I like this because it's using a similar but different begin block to the programs overall begin. Also because there's a lot of LOLCATS out there going 'OH HAI! I upgraded your RAM'. LOLprecedence. But there's already a lot of function suggestions around which may work better.
----
I was thinking along these lines. Since KTHNXBYE is longer than KTHNX, it would make sense for the main loop (whatever) to have the longer construction, so O HAI would be the program start, and HAI would be the subroutine/block/whathaveyou start.
--- //Church Tucker, 2007/05/31 05:00//
----