Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

No variables in conditions?

Why can't I use variables in conditions?

CityDesk complains when I substitute 2003/10/01 with a {$.StartDate$} variable containing the same value: Expected: date (either today, publishdate, or yyyy/mm/dd)

{$foreach x in (and (and (folder "training/*") (after {$.StartDate$}))  (before 2003/12/01) ) sortAscendBy .filedDate $}

David Burch
Thursday, October 30, 2003

Currently, you just can't do it... You can't have cityscript tags WITHIN another cityscript tag.

Michael H. Pryor
Thursday, October 30, 2003

Thanks for the explanation.

David Burch
Friday, October 31, 2003

*  Recent Topics

*  Fog Creek Home