Dec 20, 10:36 am, Felix Benner <[EMAIL PROTECTED]> wrote:

> static int main(int argc, char **argv) {
>         char *god_name;
>         if (argc)
>                 god_name = argv[1];
>         else
>                 god_name = "YHWH";
>         metaPower God = getGodByName(god_name);
>         universe *everything = makeUniverse(God);
>         while (simulatePhysics(everything));
>         return 0;
> }

This won't work if there are no command-line arguments.  You mean if
(argc > 1).

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to