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:

    It is a mass language only in the same sense that its baseball slang is born of baseball players. That is, it is a language which is being molded by writers to do delicate things and yet be within the grasp of superficially educated people. It is not a natural growth, much as its proletarian writers would like to think so. But compared with it at its best, English has reached the Alexandrian stage of formalism and decay.
    Raymond Chandler (1888–1959)

    [They] hired a large house as a receptacle for gentlewomen, who either had no fortunes, or so little that it would not support them. For these they made the most comfortable institution [and] provided [them] with all conveniences for rural amusements, a library, musical instruments, and implements for various works.
    Sarah Fielding (1710–1768)