def Tag

Format: <def IdName [ FormalParameterlist ] > heitml * </def>
Format: <def IdName [ FormalParameterlist ] >< inherit IdName1, ... > heitml * </def>

Purpose: Defines a method (format 1) or a class (format 2) called IdName. The heitml source code within the tag is referred to as the body.

After the def tag, the method or class can then be called using the tag syntax. It is therefore also called a user-defined Tag.

If the body contains a return tag with a result expression the defined method can be used as (and is called) a User-defined Function.

If there are multiple definitions for the same IdName, the textually last definition is active.

See Also: See Methods for a detailed description of methods and Classes about classes. For a description of the inherit tag, see the inherit tag.

Note: The def Tag is Case Sensitive, which means heitml will not recognize it if you use capital letters (e.g. <DEF IdName>).

This page was dynamically generated by the web application development tool RADpage of H.E.I.
© 1996-2013 H.E.I. All Rights Reserved.