Contact | Privacy | Datenschutzerklärung | Impressum

TuAssign, TuMerge, TuProject

Format: TuAssign (Target-object, Source-object)
Format: TuMerge (Target-object, Source-object)
Format: TuProject (Target-object, Source-object)

Purpose: Copies an object to another object. Both parameters must denote objects.

The content of the fields in Source-object is copied into the Target-object. Each field from the Source-object is copied into the field of the Target-object bearing the same name.

The function TuAssign() copies all fields of the Source object. If a field is not already contained in the Target object, it is added.

The function TuMerge() copies all fields of the Source object that are not already contained in the Target object, which means that the Target object is redefined in such a manner that new fields are added, but no existing fields are overwritten.

The function TuProject() copies all fields of the Source object that are also contained in the Target object. No new data fields are appended to the Target object.

Return Values: All functions return the Target-object.


<let s=emptytuple; t=emptytuple;
  t.x="A"; t.y="B";
  s.y="C"; s.z="D";
  ? t><br ><
  ? s><br ><let
  ? tass><br ><
  ? tmrg><br ><
  ? tprj
resulting output:
(x="A", y="B")
(y="C", z="D")
(x="A", y="C", z="D")
(x="A", y="B", z="D")
(x="A", y="C")

See Also: TuAppField(), TuAssField(), TuDelField(), TuFieldSort(), TuInsField(), TuName(), TuSlice().

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 Configurator (3D Produkt Konfigurator in German).

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