Creating a Buffer
 
The tag [Buffer] enables creation of a buffer (or variable) by assigning to it as a value a chain of characters or attribute values.
Declaring the buffer
It is necessary to declare a buffer before using it. A Buffer is declared by its name.
[Buffer= "MyBuffer1, MyBuffer2"]
*Several buffers can be declared in the same tag.
Assigning the buffer value
Its value is assigned using the Set attribute.
[Buffer="MyBuffer1,MyBuffer2]
[Buffer="MyBuffer1" Set="Text"/]
[Buffer="MyBuffer2" Set][P=Name/][/Buffer]
Restoring the buffer value
The buffer value is restored using the Get attribute.
[Buffer="MyBuffer" Get/]
Testing buffer contents
It is possible to test the contents of a buffer:
[If="Buffer(MyBuffer)=0"]text[/If]
Recuperating a calculation result
The result of a calculation can be retrieved from several buffer values (when these values are numeric).
[Buffer="cpt" set]
[Value Expression="buffer(b1)+buffer(b2)"/]
[/Buffer]