<def IdName [ FormalParameterlist ] > heitml * </def> |
<def IdName [ FormalParameterlist ] >< inherit IdName1, ... > heitml * </def> |
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
If the body contains a return tag with a result expression
the defined method can be used as (and is called) a User-defined
If there are multiple definitions for the same IdName,
the textually last definition is active.
See Methods for a detailed description of methods
and Classes about classes.
For a description of the inherit tag,
see the inherit tag.
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
See "Was ist AJAX? "
(in German). In Germany H.E.I. provides Webdesign in Mannheim and
Web Programming (Programmierung).
© 1996-2019 H.E.I. All Rights Reserved.