Top "Operators" questions

How to use greater than operator with date?

No idea what is going on here. Here is the query, right from phpMyAdmin: SELECT * FROM `la_schedule` WHERE 'start_…

mysql date operators
What does the ??!??! operator do in C?

I saw a line of C that looked like this: !ErrorHasOccured() ??!??! HandleError(); It compiled correctly and seems to run ok. …

c operators trigraphs
What does question mark and dot operator ?. mean in C# 6.0?

With C# 6.0 in the VS2015 preview we have a new operator, ?., which can be used like this: public class A { …

c# operators c#-6.0
PowerShell and the -contains operator

Consider the following snippet: "12-18" -Contains "-" You’d think this evaluates to true, but it doesn't. This will evaluate …

powershell operators string-matching
What does the percentage sign mean in Python

In the tutorial there is an example for finding prime numbers: >>> for n in range(2, 10): ... for x …

python operators modulo
What is the instanceof operator in JavaScript?

The instanceof keyword in JavaScript can be quite confusing when it is first encountered, as people tend to think that …

javascript operators instanceof
What is the use of the @ symbol in PHP?

I have seen uses of @ in front of certain functions, like the following: $fileHandle = @fopen($fileName, $writeAttributes); What is the …

php operators error-suppression
Is there a conditional ternary operator in VB.NET?

In Perl (and other languages) a conditional ternary operator can be expressed like this: my $foo = $bar == $buz ? $cat : $dog; …

vb.net operators conditional-operator short-circuiting
Is there an exponent operator in C#?

For example, does an operator exist to handle this? float Result, Number1, Number2; Number1 = 2; Number2 = 2; Result = Number1 (operator) Number2; In …

c# operators arithmetic-expressions exponent