Full name David Dow Submitted by David on Thu, 11/15/2012 - 14:53 Forums IceBreak Hi, Is it possible to have variable markers or are they only static / hardcoded ? Regards, David. Dynamic markers HI David; Exelent question - and the answer is yes:) If you just have ther marker name in a variable - it works: markerName = 'myMarker'; SetMarker(markerName: '123'); Also you can build arrays like that: for i = 1 to 10; setMarker('arr'+ %char(i): 'value'); endfor; Log in or register to post comments Niels, How would I place the Niels, How would I place the markers in the HTML ? For example if a have a table with a variable number of rows, how do I set a different marker name on each row ? Can I do <%$ <%=markerVar%> %> ? Regards, David. Log in or register to post comments Log in or register to post comments
Dynamic markers HI David; Exelent question - and the answer is yes:) If you just have ther marker name in a variable - it works: markerName = 'myMarker'; SetMarker(markerName: '123'); Also you can build arrays like that: for i = 1 to 10; setMarker('arr'+ %char(i): 'value'); endfor; Log in or register to post comments
Niels, How would I place the Niels, How would I place the markers in the HTML ? For example if a have a table with a variable number of rows, how do I set a different marker name on each row ? Can I do <%$ <%=markerVar%> %> ? Regards, David. Log in or register to post comments
Dynamic markers
HI David;
Exelent question - and the answer is yes:) If you just have ther marker name in a variable - it works:
markerName = 'myMarker';
SetMarker(markerName: '123');
Also you can build arrays like that:
for i = 1 to 10;
setMarker('arr'+ %char(i): 'value');
endfor;
Niels, How would I place the
Niels,
How would I place the markers in the HTML ?
For example if a have a table with a variable number of rows, how do I set a different marker name on each row ?
Can I do <%$ <%=markerVar%> %> ?
Regards,
David.