Changes between Version 8 and Version 9 of Doc/panc/statements


Ignore:
Timestamp:
Mar 7, 2007, 1:35:26 PM (19 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/panc/statements

    v8 v9  
    2020== assignment ==
    2121
    22 == aaaa ==
     22Assignment statements are used to modify a part of the configuration tree by replacing the subtree
     23identified by its path by the result of the execution a DML block. This result can be a single property or a resource holding any number of elements.  There are conditional and unconditional assignments:
     24{{{
     25[ final ] path ?= dml;
     26[ final ] path = dml;
     27}}}
     28where the path is represented by a string literal.  Single-quoted strings are slightly more efficient, but double-quoted strings work as well.  The conditional form (`?=`) will only execute the DML block and assign a value if the named path does not exist or contains the undef value.
     29
     30The assignment will create parents of the value that do not already exist.
     31
     32If a value already exists, the pan compiler will verify that the new value has a compatible type.  If not, it will terminate the processing with an error.
     33
     34== aaa ==
    2335
    2436This statement will delete the named path.