On Thu, 16 Oct 2003 00:14:18 -0400, Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> 
wrote:

> sorry for the time it took to reply,
> and then, in the code, before or after building a liquid-vid layout, you 
> use the attach method to attach one valve to another valve's pipe.

Hi, maybe a bit off-topic but Max, you should pick other words. Even your 
words are quite creative, there is no hint for someone with IT background 
what it's all about. Further I think it makes talking about this stuff 
unnecessary complicated.

To me this all looks like a graph. So we have nodes, links or edges, 
sources and destenations, handle-functions and that's it.

> gui: layout [
>     across
>     styles lvid-style
>     value-sldr: slider 200x20 min 1 max 100
>     field attach value-sldr 50
> ]
>
> valve: liquify liquid/valve! []
> valve/attach value-sldr/valve  ;  attach this valve to that slider
> valve/handle [
>     print data + 20
> ]
> valve/refill none  ; calls an update just on this valve with the pipe's 
> current value.

How about such a syntax:

gui: layout [
      across
      styles lvid-style

      sldr: slider 200x20 min 1 max 100
      output: field
]

edge: link value-sldr/value output/text [
        print value + 20
]

IMO much easier to read. Robert

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to