Contact | Privacy | Datenschutzerklärung | Impressum

if elsif else Tag

Format: <if Expression> heitml [ <else> heitml ] </if>
Format:
<if Expression> heitml
<elsif Expression> heitml
...
<elsif Expression> heitml
[ <else> heitml ]
</if>

Purpose: Evaluates the Expression after the if tag. Its result must be of type Boolean. If the expression evaluates to true, the heitml code following the if tag is performed, otherwise the evaluation repeats for the expression of every elsif tag. If no elsif expression evaluates to true, and if the else tag has been specified, the heitml code following the else tag is performed.

Example:

 <if x == y>
   <DoThisProcedure>
   <DoThisOneToo>
 <else>
   <ShowErrorMessage>
 </if>

Note: The if, elsif, and else Tag is Case Sensitive, which means heitml will not recognize it if you use capital letters (e.g. <IF Expression>, <ELSIF Expression> or <ELSE>).

This page was dynamically generated by the web application development tool RADpage of H.E.I. H.E.I. provides support, tools, and services like Webdesign in Mannheimm, the HTML/CSS 3D WebGL Animation Library taccgl, 3D Webdesign, and 3D Product ConfiguratorDemo (3D Produkt Konfigurator Demo in German).
© 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