Location: PHPKode > projects > Open Power Template > tests/Opt/function/range_1.txt
Testing the range() function.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<opt:root>
{range(50, 60)}
{range(50, 50)}
</opt:root>

>>>>expected.txt
OUTPUT

>>>>result.txt
50 - 60
50
Return current item: Open Power Template