Too many "if" statements?

John:

Very cool. I'm beginning to grasp this function-making business now.

I tried your example, and it gave me a "flashdrink not declared in this scope" message when I put the

flashdrink(vodka, 1);

line inside my void loop. I just don't have time to figure out why right this second, as I am heading out to a party. If I can get it to work though that will be really cool, so I'll take a better look at it tomorrow. Thanks for helping me learn some new tricks! (as a side note, what is the "& amt" doing? I have never seen it before)

PaulS:

Thanks for clarifying. I thought the F() macro came from the library until you said otherwise. All a bit over my head still to be honest. I only tried it because someone mentioned moving a bunch of my stuff to flash memory would save me a bunch of RAM.