Name

add — Add value to term

Synopsis

term add ( term  TERM ,
  any  VALUE );

Parameters

term TERM

any VALUE

Return

term

Description

Adds the value VALUE to the term TERM and returns the newly created term. As always in YCP, TERM is not modified.

Usage

  add (`VBox(`Empty()), `Label("a")) -> `VBox (`Empty (), `Label ("a"))
  add (`VBox(`Empty()), "a") -> `VBox (`Empty (), "a")