%FORMATLIST{"One,Two,Three" format="" footer="$count"}%

I'm not sure, if this is a feature request or a bug report. I'd like to count items in a list via FORMATLIST. This works perfectly, if format="$1" or the like but not, if the output is empty.

-- OliverKrueger - 16 Dec 2011

The above %FORMATLIST will produce an empty list which isn't displayed by default. Try this instead

%FORMATLIST{"One,Two,Three" format="<!-- -->" separator="" footer="$count"}%

-- MichaelDaum - 16 Dec 2011

Already thought about it. The ouput of FORMATLIST is the input of another macro, and even simple spaces are too noisy. frown

-- OliverKrueger - 16 Dec 2011

Fixed in latest release.

-- MichaelDaum - 10 Jan 2012

Thanks alot. smile

-- OliverKrueger - 10 Jan 2012

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads