123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|366|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Extra Punctuation

Mon, 26 Nov 2012, 14:07
spinal
Bah, I keep putting ;’s at the end of my lines in PMC o_O

-=-=-
Check out my excellent homepage!
Mon, 26 Nov 2012, 14:07
steve_ancell
I thought I was going to do the same but I have restrained myself so far.
Mon, 26 Nov 2012, 14:20
Jayenkai
Take a look at my code, it's CRAZYTOWN!!!
Luckily, DD made PMC mostly ignore rogue ;s, so it's happy to play along with the insanity.

-=-=-
''Load, Next List!''
Tue, 27 Nov 2012, 00:08
spinal
My code is about 50% with ;
Tue, 27 Nov 2012, 02:27
JL235
Semi-colons are not ignored, they mean something, they are a 'hard' statement separator, stating that two statements *must* separate at that point. In practice it means you get an extra empty statement, which is ignored.

For example



It's just that a new line is also a statement separator, however it's 'soft', and so only works under certain conditions. The difference is to allow code like this to still work ...


Personally, I would avoid semi-colons, and I only put them in for completeness. To be honest, I kinda regret that, since you shouldn't need to write multiple statements on a single line. However not everyone agrees with me, so if you do, you can.
Thu, 29 Nov 2012, 05:22
waroffice
and they say it is impossible to please everyone all of the time
Thu, 29 Nov 2012, 06:01
spinal
I'm also having difficulty getting my head around making the following work...

c*(t/=d)*t + b

it really doesn't like the '/=' part

-=-=-
Check out my excellent homepage!