Promethius was right. You can certainly use logic in a dream. Last night I was writing a program in my dream. I was using a TI-89, which uses a form of basic. And now, as Im awake, Im thinking about this porgram, and I know it all made sense. So I no longer believe the "logic center" of the brain is shutdown when dreaming. Logic is not often a big part of dreaming, so people assume that logic is "shutdown", but I'm not sure if there is more evidence than that...because I no longer believe it.