Re: And another crm114 script language question about 'isolate'
"Ger Hobbelt" <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
Ja-a-a-aaa, so far with you all the way. But-t-t-t lemme rephrase: the
wonder starts (started, I should say) here:
{
window
isolate (:a:) # --> 'a'
output /a = ':*:a:'\n/ #
isolate (:a:) /foo/ # --> 'foo' (override; old 'a' is lost
output /a = ':*:a:'\n/ #
isolate <default> (:a:) /bar/ # --> in this case, :a: will _stay_ 'foo'
output /a = ':*:a:'\n/ #
isolate (:a:)
output /a = ':*:a:'\n/ # now what do you expect here? Then run
and see if reality matches brain. For me it didn't.
}
(source attached)
Please think about the last isolate before you check and run it: this
is a perception check after all.
I have learned the hard way that I had forgotten something important
about 'isolate' and why it is called exactly that ('isolate', and not,
say, 'instantiate', 'declare' or 'allocate')
Ger
PS: answer to my own question is: yes, it's proper and intended to be like that.
Only when you're passing through the boundary from command
line-declaration of a variable (--variable) into the script code
proper, it threw me when I wrote 'isolate (:var:)' assuming it would
be a quick hack to disable a commandline-specified variable. I was
wrong, because without the // isolate assumes a default behaviour I'm
not used to in other languages. Neverthless, one fitfull night and it
makes sense again.
On Mon, Mar 31, 2008 at 6:10 AM, Paolo <[email protected]> wrote:
[...]
> note that :d: is not touched by last ISOLATE, which again looks right to me.
--
Met vriendelijke groeten / Best regards,
Ger Hobbelt
--------------------------------------------------
web: http://www.hobbelt.com/
http://www.hebbut.net/
mail: [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
isolatephenomenontest.crm
(application/octet-stream, 1.1 KB) - not displayed