[pmwiki-users] Re: Re: Re: MarkupExtensions and other interdependent recipes

John Rankin john.rankin at affinity.co.nz
Sun Jun 12 22:38:20 CDT 2005


On Monday, 13 June 2005 12:36 AM, chr at home.se wrote:
>On Thu, 9 Jun 2005, Patrick R. Michaud wrote:
>
>> On Mon, Jun 06, 2005 at 10:33:09PM +0200, Joachim Durchholz wrote:
>> > chr at home.se wrote:
>> > >Sounds like a good idea to me, but perhpas an array should be used instead 
>> > >of a string? (In case an "extension name" contains a space).
>> > 
>> > Rather rename the extension :-)
>> > 
>> > A single string would be far easier to write, and the recipe can easily 
>> > explode() it into an array.
>> 
>> Sometimes a single string is easier to write, sometimes an array is
>> easier to write.  This is why many of PmWiki's defaults can be either
>> delimited strings or arrays.  My suggestion is for the recipe to understand
>> arrays of space-delimited arguments.
>
>Nice compromise :-)
>
>/Christian
>
OK at the moment (it's a good job I didn't release it), I have it 
recognising a space delimited variable. I guess I need to enhance
it some more before I release it... Which means figuring out how
to implement this 'nice compromise'.


-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list