Dr.Ruud wrote: > Marshall schreef: > > Rob Thorpe: > > >> Can I make a type in C that can only have values between 1 and 10? > >> How about a variable that can only hold odd numbers, or, to make it > >> more difficult, say fibonacci numbers? > > > > Well, of course you can't in *C*; you can barely zip you pants with C. > > But I believe you can do the above in C++, can't you? > > You can write self-modifying code in C, so I don't see how you can not > do that in C. > ;)
I stand corrected: if one is using C and writing self-modifying code, then one *can* zip one's pants. Marshall -- http://mail.python.org/mailman/listinfo/python-list