For Each Loop Code Examples

Posted in C# Programming, iPhone Programming, Multi Language Examples, PHP Programming, VB .Net Programming on July 20th, 2009 by phoenixdigital

This post continues with examples in multiple languages of various coding routines. It’s goal is to assist someone transitioning from one language to another.

In this example we cover the for each loop.
Read more »

If Else Code Examples

Posted in C# Programming, iPhone Programming, Multi Language Examples, PHP Programming, VB .Net Programming on July 19th, 2009 by phoenixdigital

This post continues with examples in multiple languages of various coding routines. It’s goal is to assist someone transitioning from one language to another.

In this example we cover the if else commands.
Read more »

Switch and Case Code Examples

Posted in C# Programming, iPhone Programming, Multi Language Examples, PHP Programming, VB .Net Programming on July 19th, 2009 by phoenixdigital

This post continues with examples in multiple languages of various coding routines. It’s goal is to assist someone transitioning from one language to another.

In this example we cover the switch case conditional statement. This statement is frowned upon by some programmers but can make a cascade of if else statements alot easier to understand.
Read more »

Do Loops Code Examples

Posted in C# Programming, iPhone Programming, Multi Language Examples, PHP Programming, VB .Net Programming on July 19th, 2009 by phoenixdigital

This post continues with examples in multiple languages of various coding routines. It’s goal is to assist someone transitioning from one language to another.

In this example we cover the simple do loop.
Read more »

While Loops Code Examples

Posted in C# Programming, iPhone Programming, Multi Language Examples, PHP Programming, VB .Net Programming on July 19th, 2009 by phoenixdigital

This post continues with examples in multiple languages of various coding routines. It’s goal is to assist someone transitioning from one language to another.

Below is the syntax of the while loop in various languages. Included are examples of the use of continue for skipping a section of code within the while loop and continuing with the loop. Also an example of the use of break to leave to loop regardless of the condition statement.

Read more »

For Loop Code Examples

Posted in C# Programming, iPhone Programming, Multi Language Examples, PHP Programming, VB .Net Programming on July 19th, 2009 by phoenixdigital

This post continues with examples in multiple languages of various coding routines. It’s goal is to assist someone transitioning from one language to another.

In this example we cover the simple for loop.
Read more »