'Executes a loop where a set of statements are applied to a list. '+'The first argument specifies a variable name. Each item in the '+'second argument list is assigned to the variable and then '+'all the rest of the arguments are executed. The function returns '+'the value of the last statement or the return value if a "return" '+'statement was found. '+'For example, the statement '+' (foreach i (create$ red green blue) (bind ?x (str-cat ?i " color")) (printout t ?x))'+sLineBreak+'will print out'+sLineBreak+' red color'+sLineBreak+' green color'+sLineBreak+' blue color'+sLineBreak+'and return "blue color"'
Namespace: StandardPackage
Delphi |
ForEachComment = 'Executes a loop where a set of statements are applied to a list. '+ |
Value
Type: string
Reference |