| Smartsite SXML |
|
|---|---|
Set buffer mybuf to value 'hello':
{buffer.set(mybuf,'hello')}
Buffer exists ?
{buffer.exists(mybuf)}
Read the buffer, result will be hello:
{buffer.get(mybuf)}
Remove the buffer:
{buffer.remove(mybuf)}
Buffer exists ?
{buffer.exists(mybuf)}
Since the buffer no longer exists, the default will be used:
{buffer.get(mybuf,default='missing')}
|
|
| Example Result |
|
|---|---|
Set buffer mybuf to value 'hello':
Buffer exists ?
true
Read the buffer, result will be hello:
hello
Remove the buffer:
Buffer exists ?
false
Since the buffer no longer exists, the default will be used:
missing
|
|