semicolon

IntelliJ and the semi-colon character

I'm finally making the voyage back to IntelliJ via Eclipse. Currently my Eclipse is set up so that if I currently have a statement such as this (where ^ denotes where my cursor currently sits): foo.bar("hello"^) and I hit the semi-colon (;) key, it will automatically put the semi-colon at the end of the statement: foo.bar("hello"); ...

PHP, C++, etc. syntax explanation

Why is it that in most programming languages it is required to have a semicolon after statements but not after things like if elseif and else. Do the compilers all look out for newlines? If that's true then why wouldn't they do that for all statements? Am I missing something? It really doesn't make sense to me... ...

XSLT Error: A semi colon character was expected

I've got this url that I need to place in a link in some XSL. Not sure where the problem is. If I pull the link out of the XSL it works fine. a href="https://xxxxx.com/sites/mcpharm/ApplicantDocuments/Forms/ApplicantUpload.aspx?List=%7B3D4B5CEF%AF61%2DBFA1945747EA%7D&RootFolder=%2Fsites%2Fmcpharm%2FApplicantDocuments%2F{$QSApplicant...

How actually does this if statement work

It has been a popular question that how to print hello world without using semicolon.I know many codes but this one sounds weird because I am unable to get the logic behind it.Please help me know how it prints. if(printf("hello world")){} ...

Can you use semicolons in Ruby?

When learning Ruby, I noticed that in all the examples there are no semicolons. I am aware that this is perfectly fine as long as each statement is on its own line. But what I am wondering is, can you use semicolons in Ruby? Thanks in advance! ...

I've heard Javascript inserts ";" automatically and that may cause problems.

Possible Duplicate: What are the rules for Javascript's automatic semicolon insertion? I've also heard that Go insert them too, but they followed a different approach How does Javascript insert semicolons while interpreting? Any reference would be helpful ...