Anyone know how I can do the equivalent of the following in dtml: for (int i=0; i<count; i++) { ...stuff... } or even int i=0; while (i<count) { ..stuff.. i++; } cheers, Chris