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’s not that we want the political jobs themselves ... but they seem to be the only language the men understand. We don’t really want these $200 a year jobs. But the average man doesn’t understand working for a cause.
    Jennie Carolyn Van Ness (b. c. 1890–?)

    Three factors—the belief that child care is female work, the failure of ex-husbands to support their children, and higher male wages at work—have taken the economic rug from under that half of married women who divorce.
    Arlie Hochschild (20th century)