Contact | Privacy | Datenschutzerklärung | Impressum

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. See "Was ist AJAX? " (in German). In Germany H.E.I. provides Webdesign in Mannheim and Web Programming (Programmierung).
© 1996-2024 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    Expressions
    Objects
    Methods
    Classes
    heitml Tags
      ? Tag
      assign Tag
      break Tag
      callenv Tag
      dbdatabase Tag
      dbquery Tag
      dbupdate Tag
      def Tag
      defautoclose Tag
      defbody Tag
      defclass Tag
      defcontpara Tag
      defenv Tag
      defhtml Tag
      definpara Tag
      defpara Tag
      defremovecdata Tag
      deftranspara Tag
      defwysiwyg Tag
      for Tag
      forin Tag
      forsep Tag
      if Tag
      elsif Tag
      else Tag
      include Tag
      includeonce Tag
      inherit Tag
      let Tag
      mail Tag
      return Tag
      shell Tag
      while Tag
      writefile Tag
      \ Tag
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    Sessions
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  Tutorial
  New Features
  heitml 1
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum