Damn, and I just finished coding my mailmerge function -:)

> From: "Geoff Canyon" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 6 Apr 2001 12:41:50 -0700
> To: [EMAIL PROTECTED]
> Subject: Re: Using MetaTalk as a HyperText Pre-processor???
> 
> At 5:20 PM +0930 4/6/01, Monte Goulding wrote:
>> Wouldn't it be possible to modify mcHTTPd to read certain types of pages and
>> do any lines of mt script it finds?
> 
> To which I said, "Yes, I've done something like that, but MC's regex
> made it challenging because it's greedy."
> 
> 
> At 6:20 PM +0100 4/6/01, David Bovill added:
>> Yep, this is right.
> 
> But now it seems that this problem might be solved, without the use
> of regex at all. Quoting from the 2.4 Alpha readme:
> 
>> The "merge()" function evaluates commands and expressions embedded in
>> a string and replaces them with the resulting value.  For
>> compatibility with SuperCard/Flamethrower, expressions start with "[["
>> and end with "]]".  Statements are delimited with "<%" and "%>".  You
>> must use "return" with statement to return a value:
>> put merge("3 + 5 is [[3 + 5]] and 2 + 2 is <?return 2 + 2?>")
> 
> All hail MetaCard!
> 
> gc
> 
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> 
> 


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to