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:

    You can’t write about people out of textbooks, and you can’t use jargon. You have to speak clearly and simply and purely in a language that a six-year-old child can understand; and yet have the meanings and the overtones of language, and the implications, that appeal to the highest intelligence.
    Katherine Anne Porter (1890–1980)

    I believe, as Maori people do, that children should have more adults in their lives than just their mothers and fathers. Children need more than one or two positive role models. It is in your children’s best interest that you help them cultivate a support system that extends beyond their immediate family.
    Stephanie Marston (20th century)