Google Search diml.org
[ french ]

Table des matières
 Latest News
 An application of the  WCT_NEWS  component
>> Top of page

Data Injection Markup Language Reference

Iterative Call In A Vector


Module : Core Group : Variables Call
<%%template-name[iteration]%%>

Conversely to C, Java, or many programming languages, this syntax IS NOT an array access syntax, but an iterative call that requires iteration copies of the template template-name. Each copy will be indepentendly processed by the processor and may return different content, especially when it contains matrix/vector calls or conditional statements.

This statement trigs the Automated Index Mechanism for any embedded vector/matrix call, thus allowing a very light-syntax multidimentional exploration. If an embeded vector/matrix call has no data left (i.e. indexes have flown over effective existing data array), it will return the standard default value of a scalar call.


previous summary next


All material is copyleft V.G. FREMAUX (EISTI France) 1999 to 2003 except explicitly mentioned