http://loop-bell.livejournal.com/ ([identity profile] loop-bell.livejournal.com) wrote in [personal profile] nemorathwald 2009-01-13 02:01 pm (UTC)

Comment about your "comment" markers -- the compiler only requires /* before and */ after comments; the second star on the first line and the star on every line thereafter are just a convention some programmers like because it makes it easier to tell apart comment lines from code. There are, of course, those who dislike the extra characters. For example, I prefer the // style comments for 1 or 2 line comments, and I only use the leading * if it's actually a comment (as opposed to commented out code).

Oh, and the ; ends any kind of statement, not just assignments. Think of it like the end of the line in Python.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting