home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM ********************************************************************
- REM *** Quote.bat - Display a quote randomly selected from a list of ***
- REM *** silly quotes. This is not much good to anyone. ***
- REM ********************************************************************
- cenvi %0.bat
- GOTO CENVI_EXIT
-
- quote = {
- "Me and Rex took the car, ha ha. Stay home. Stay!",
- "I'd rather have a bottle in front of me than a frontal lobotomy.",
- "Anything sufficiently vague shall always ring true.",
- "I'll be back.",
- "When law has been outlawed only outlaws will have lawyers.",
- "What?!! If that's not your tongue, then whose is it?",
- "What's another word for thesaurus?",
- "The hills are alive with the sound of music... EEEEEK!!",
- "Freud sez: Is that a compiler in your pocket, or do you have C-Envi?",
- "Why am I soft in the middle? The rest of my life is so hard.",
- "One man claims there is a God\n"
- " The next is sure there is not\n"
- "While God, in all His glory\n"
- " Looks down,\n"
- " and laughs\n"
- " and says, \"So What?\"\n"
- "For God, Omnipotent God\n"
- " Doesn't give a doodly-squat.",
- "No soap. Radio.",
- "Time's a crutch,\n Eat mandarin oranges.",
- "What's that smell?",
- "Orange you glad I didn't say banana?",
- "That's a pretty good pan.",
- "I can code better than anyone who codes faster,\n"
- " and faster than anyone who codes better.",
- };
-
- ChoiceCount = GetArraySpan(quote) + 1;
-
- srand() // initialize random number generator
- printf("\n%s\n\n",quote[rand()%ChoiceCount]) // pick one of the choices at random
-
- :CENVI_EXIT