Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Problem with nested loops

A while ago Mark W posted the following script and complained that the y loop wasn't executing:

{$foreach x in keyword_contains "index"$}

<a href="{$$}">{$x.headline$}</a>

{$foreach y in folder "{$x.extra1$}"$}
<a href="{$$}">{$y.headline$}</a>

test: {$x.extra1$}

There was no reply to his post, and now I'm having a similar problem. Any time I try to use a field from the first loop as a condition in the second, the second loop fails to execute.

Does CityDesk support this? Is it a bug?

Jim Corban
Friday, April 12, 2002

Okay, I found the later threads that discuss this issue. It's not supported. That's too bad.

Jim Corban
Friday, April 12, 2002

*  Recent Topics

*  Fog Creek Home