Top "Statements" questions

In computer programming a statement is the smallest standalone element of an imperative programming language.

If else statements not working- why?

After working on this code for a while and coming very close to the end, I've run into an unexpected …

java if-statement statements
AND/OR (&&/||) logic for multiple condition statements

If you have an if-statement in C# that checks multiple conditions: if (a == 5 && b == 9) { ... } Does b == 9 still get …

c# logic conditional statements
how to use "if" statements inside pipeline

I'm trying to use if inside a pipeline. I know that there is where (alias ?) filter, but what if I …

powershell pipeline conditional-statements statements
What is the definition of cardinality in SQL

My school book Database Systems defines cardinality as follows: The cardinality of a relation is the number of tuples it …

mysql sql statements cardinality
Two PLSQL statements with begin and end, run fine separately but not together?

Just wondering if anyone can help with this, I have two PLSQL statements for altering tables (adding extra fields) and …

oracle plsql oracle10g statements
C++ Multiple statements for conditional operator

I'm trying to use a conditional statement that does one thing in one condition but does two things if the …

c++ conditional statements
SQL Statement t1, t2 etc

Im quite new to SQL and I'm just trying to find out what it means when you use t1, t2 …

sql database command statements
Excel IF "text" then number, IF another "text" then another number

In column B I want a formula that says: If column A is Medium then use the value in B2 …

excel if-statement formula statements
Is there a VB equivalent to C#'s 'continue' and 'break' statements?

For sake of argument, how could I do this in VB? foreach foo in bar { if (foo == null) break; if (…

vb.net statements
What is the difference between a statement and a function in Python?

Edit: The suggested duplicate, does not answer my question, as I am primarily concerned with the difference in Python specifically. …

python python-2.7 python-3.x function statements