Foreach Loop - Language Support

Language Support

Some of the languages with support for foreach loops include ABC, ActionScript, Ada, C++11, C#, Cobra, D, Daplex (a query language), ECMAScript, Java (since 1.5, using the reserved word for for the for loop and the foreach loop), JavaScript, Objective-C (since 2.0), Perl, PHP, Python, REALbasic, Ruby, Smalltalk, Tcl, tcsh, Unix shells, Visual Basic .NET and Windows PowerShell. Notable languages without foreach are C and C++ prior to C++11.

Read more about this topic:  Foreach Loop

Famous quotes containing the words language and/or support:

    When you’re lying awake with a dismal headache, and repose is
    taboo’d by anxiety,
    I conceive you may use any language you choose to indulge in without impropriety;
    Sir William Schwenck Gilbert (1836–1911)

    An ordinary man will work every day for a year at shoveling dirt to support his body, or a family of bodies; but he is an extraordinary man who will work a whole day in a year for the support of his soul. Even the priests, men of God, so called, for the most part confess that they work for the support of the body.
    Henry David Thoreau (1817–1862)