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:

    The style of an author should be the image of his mind, but the choice and command of language is the fruit of exercise.
    Edward Gibbon (1737–1794)

    But look what we have built ... low-income projects that become worse centers of delinquency, vandalism and general social hopelessness than the slums they were supposed to replace.... Cultural centers that are unable to support a good bookstore. Civic centers that are avoided by everyone but bums.... Promenades that go from no place to nowhere and have no promenaders. Expressways that eviscerate great cities. This is not the rebuilding of cities. This is the sacking of cities.
    Jane Jacobs (b. 1916)