Re: scoped crm114 script variables --> in case you were wondering about match/bound vars, or: two mind altering substances that come out of MA, USA

Kurt Hackenberg <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Paolo wrote:
> On Thu, Feb 26, 2009 at 01:15:02PM +0100, Ger Hobbelt wrote:
>
> missing test:
>
>   
Yep.
>>    :capture_func:
>>    isolate (:z:) /abcdefghijklmnop/           # make :z: be local
>>    match [:z:] /...(...).../  ( :: :a: )      # capture :a: into :z:
>>     
> +    match [:z:] /......(...)/  ( :: :x: )      # capture :z: into :x:
>   
>>    match <keep> [:z:] /(......).../  ( :: :b: )      # capture :b: into :z:
>>    output /:*:_cd:: :a: is :*:a:, :z: is :*:z:, :b: is :*:b:\n/
>>     
> +    output /:*:_cd:: :x: is -:*:x:-\n/
>
> and same output on :x: at level 0, where I'd expect just ':x:' since it 
> wasn't already defined at level 0.
>   
That's what I'd expect too.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.