Changes between Version 2 and Version 3 of Doc/panc/dml/functions


Ignore:
Timestamp:
Mar 3, 2007, 10:12:41 AM (17 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/panc/dml/functions

    v2 v3  
    1 == Built-In Functions ==
     1= Functions =
    22[[TracNav]]
    33
    4 ==== base64 decode( arg:string ) : string ====
     4== Built-In Functions ==
     5
     6=== base64 decode( arg:string ) : string ===
    57
    68This function decodes the given string that must be Base64 (defined in RFC 2045) encoded.
    79
     10{{{
    811"/test" = "[" + base64_decode("aGVsbG8gd29ybGQ=") + "]";
    912# will be the string "[hello world]"
     13}}}
    1014
    11 clone( arg:element ) : element
     15=== clone( arg:element ) : element ===
    1216
    1317This function returns a clone (copy) of the given argument.
    1418
    15 create( name:string, . . . ) : nlist
     19=== create( name:string, . . . ) : nlist ===
    1620
    1721This function returns the named list which is the result of the execution of the structure template identified
     
    1923the result accordingly (a bit like with nlist).
    2024
     25{{{
    2126# description of a CD mount entry (but the device is unknown)
    2227structure template mount_cdrom;
     
    2631"options" = list("noauto", "owner", "ro");
    2732# our first mount entry is the CD coming from hdc
     33}}}
    2834
    29 
    30 '''debug( string message )'''
     35=== debug( string message ) ===
    3136
    3237This function prints the given message on stdout when debugging is enabled with the DEBUG USER