Contact | Privacy | Datenschutzerklärung | Impressum


Format: fname (object-field)

Purpose: Returns the name of an object field in the form of a string.

Return Values: Returns a string denoting the name of the object field, or null if the field has no name or does not exist.

Example 1:

input:resulting output:
<let x=emptytuple; x.hallo="test"; ? fname(x[0])>hallo
<let x=emptytuple; x.hallo="test"; ? fname(x.hallo)>hallo
<let x=array(2); x[0]="a"; x[1]="b"; ? fname(x[1]) "Nn">null
<? fname(ff.x.y.z) "Nn">null

Tip: The fname() function is useful in deciphering the structure of an unknown object, or when you want to print the data field names along with their associated values (as in the following example).

Example 2:

input:resulting output:
<let x=emptytuple; x.hallo="test";
><b><? fname(x[0])>:</b> <? x[0]>
hallo: test

See Also: findex().

This page was dynamically generated by the web application development tool RADpage of H.E.I.

Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display.

© 1996-2024 H.E.I. All Rights Reserved.

Component Guide
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    heitml Tags
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  New Features
  heitml 1
User Guide
Contact / Impressum