Top "Syntax" questions

Syntax refers to the actual language elements and symbols themselves.

What does '<?=' mean in PHP?

<?php $a=1; ?> <?=$a;?> What does <?= mean exactly?

php syntax
syntaxerror: "unexpected character after line continuation character in python" math

I am having problems with this Python program I am creating to do maths, working out and so solutions but …

python math syntax continuation
SQL Case Expression Syntax?

What is the complete and correct syntax for the SQL Case expression?

sql sql-server oracle syntax case
How to escape % in String.Format?

I am storing a SQL query in my strings.xml file and I want to use String.Format to build …

java android string syntax
JavaScript property access: dot notation vs. brackets?

Other than the obvious fact that the first form could use a variable and not just a string literal, is …

javascript syntax object-literal
c++ array assignment of multiple values

so when you initialize an array, you can assign multiple values to it in one spot: int array [] = {1,3,34,5,6} but what …

c++ arrays programming-languages syntax
C# binary literals

Is there a way to write binary literals in C#, like prefixing hexadecimal with 0x? 0b doesn't work. If not, …

c# syntax binary
How do I get a decimal value when using the division operator in Python?

For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. …

python python-2.7 math syntax operators
Get Insert Statement for existing row in MySQL

Using MySQL I can run the query: SHOW CREATE TABLE MyTable; And it will return the create table statement for …

mysql syntax
Single quotes vs. double quotes in C or C++

When should I use single quotes and double quotes in C or C++ programming?

c++ c syntax char string-literals