how to get a value

"arko974" <[email protected]> Thu, 20 Aug 2009 14:29:30 -0000
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
hello, 

in my hdf file I have the followings value:

eqpt.revt.ETORS001.value=1
eqpt.revt.ETORS002.value=0
eqpt.revt.ETORS003.value=1
eqpt.revt.ETORS004.value=1
eqpt.revt.ETORS005.value=1
....
eqpt.revt.ETORS450.value=1

In my cst file I want to get the value of each ETORS (ETORS001, ETORS002....)

i want to do something like that

<div id="group1">
<?cs: var: eqpt.revt.ETORS001.value ?>
<?cs: var:eqpt.revt.ETORS002.value ?>
</div>

<div id="group2">
<?cs: var:eqpt.revt.ETORS003.value ?>
<?cs: var:eqpt.revt.ETORS004.value ?>
<?cs: var:eqpt.revt.ETORS005.value ?>
</div>

<div id="group3">
<?cs: var:eqpt.revt.ETORS006.value ?>
</div>
...

in each div i want to get the value of eqpt.revt.ETORS.... .value
but i don't have the same number of line in each div

i tried to make a loop but it doesn't work and i can't count like that 001, 002, 003 ..... with my loop but rather like that 1,2,3...

Is someone have any idea ?

Thank you very much