Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Crashes CityDesk

FYI

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

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

{$.next$]

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

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

MarkTAW
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.

tk
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.

MarkTAW
Monday, June 24, 2002

*  Recent Topics

*  Fog Creek Home