
-----------------------------------
btiffin
Thu Mar 18, 2010 10:40 pm

Looking for giggles
-----------------------------------
So, if you had to

What language would you use to code your way out of a wet paper bag?

Cheers
I'd try it first with Forth, something like  -1 0 DO R> DROP DROP LOOP   and hope that underflowing both the return and data stack would tear a hole large enough for escape

-----------------------------------
SNIPERDUDE
Thu Mar 18, 2010 10:41 pm

RE:Looking for giggles
-----------------------------------
VHDL. :P

-----------------------------------
Insectoid
Thu Mar 18, 2010 11:12 pm

RE:Looking for giggles
-----------------------------------

until bag.empty do
    bag.chomp!
end


That's how I'd do it.

-----------------------------------
DemonWasp
Thu Mar 18, 2010 11:40 pm

RE:Looking for giggles
-----------------------------------
Two options:

[code]
while ( ! bag.isDry() );
// I'm now in a dry paper bag, a much more hospitable environment
[/code]

[code]
int main ( int argc, char ** argv ) {
    memset ( &argc-40, 0, 40 );
}
[/code]

The above probably doesn't actually compile, but if it does, it'd rip quite the hole.
