Google Search diml.org
[ french ]

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

Language Reference

eval Statement


Module : Core Group : Variable declaration

Syntax 1

<%eval variable-name = "escaped_string_expression" %>

Syntax 2

<%eval variable-name = variable_name %>

The eval statement allows defining an extra variable, just as the set statement does. The major difference is that the content string will be unescaped and scanned for DIML embedded statements. Any escaped DIML calls will be resolved (recursively) in the data value.

This statement provides the same alternative syntaxes that the set statement.


previous summary next


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