Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Crashes CityDesk


This piece of code in my template is causing CD to crash, it seems.

{$foreach x in (keyword_contains "(index)")$} {$x.headine$}


Note the "{$.next$]" Changing it to "{$.next$}" at least gives you an error.

Of course, the proper syntax is {$next$}

Friday, June 21, 2002

If you know the proper syntaks, why don't you use it?

Jorgen Brenting
Friday, June 21, 2002

The unballanced {}'s is a sure fire CityDesk crash.  It seems to catch most other script errors in a more gentle fashion.

Friday, June 21, 2002

yep, we're aware of this... getting {$ / $} unmatched causes an infinite loop. It'll be fixed in the next service pack

Joel Spolsky
Friday, June 21, 2002

Jorgen... very helpful thank you. I wonder why I never thought of that.

Monday, June 24, 2002

*  Recent Topics

*  Fog Creek Home