What if we used buhkets as subroutines?

HAI
...
PUTZ var IN MAH blue BUHKET
^^ passes variable to subroutine blue
GETZ var FROM MAH blue BUHKET
^^ var is now transformed value
...
KTHXBYE

FOUND MAH blue BUHKET!
^^ subroutine start
  GETZ newvar FROM blue BUHKET
  ...
  ^^ stuff happens
  PUTZ brandnewvar INTO blue BUHKET
  ^^ replaces value of blue BUHKET
KTHX
^^returns with new var 'in' blue BUHKET 

This is something like the 'it' variable in Hypertalk (IIRC.)

Church Tucker, 2007/05/30 17:38

Interesting… very interesting. I like the PUTZ <var> INTO MAH BUCKIT for “return” a little better than my “I FOUND MAH <return>.” — Kyle, 2007/05/30 18:07


Thinking about it a bit more… There's essentially a global variable that's equivalent to each buhket, so there might be an initialization routine that could read:

HAI
CAN HAS STDIO?
THEY STOLE MAH blue BUHKET!
^^ creates global for use with subroutine message passing.
...

It matches up well with FOUND MAH… when the subroutine is called.

Church Tucker, 2007/05/31 04:50