Nope, now it's become a mix of quickly-whipped-up psuedocode; corrections to said psuedocode (which shows how much some of us, myself included, need a compiler/interprettor); and debate over assignments and comparators in different languages.
Well. This is the 'geeks'' lounge, so I suppose that's to be expected.
I was under the impression that sine and cosine were determined by degrees; after 360, you start cycling again. Ergo, it would seem to me that your 666 degrees would be equal to 360 degrees (one full cycle) plus 306 additional. If any of this is incorrect, please point out to me where I am in error.
> [^o]*(.*?)n(.*?)i[^o]*ns. is a regular expression (perl form)
> that matches the string: "philosophy, cabbages, and regular
How about: (onions)+ +, +(philosophy)+ +, +(cabbages)+ +, +(regular expressions)+ Now you can have any amount of onions, philosophies, cabbages and regexes as you want, with the added advantage of multiple spaces being handled. ;-)