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:

    “What may this mean? Language of Man pronounced
    By tongue of brute, and human sense expressed!
    The first at least of these I thought denied
    To beasts, whom God on their creation-day
    Created mute to all articulate sound;
    The latter I demur, for in their looks
    Much reason, and in their actions, oft appears.
    John Milton (1608–1674)

    A government which robs Peter to pay Paul can always depend on the support of Paul.
    George Bernard Shaw (1856–1950)