[Dev] 'get' revisited

jb at integralive.org jb at integralive.org
Sat Mar 31 14:40:15 BST 2007


Jamie Bullock wrote:

> I don't see this as a problem. '/foo' is just an address, so we can
> specify whatever behavior we like when it receives a message with zero
> arguments. /foo, when sent an empty message could cause the value of the
> variable 'foo' to be sent as an output from the module, equally it could
> result in the execution of some function or process.
>

Actually, thinking about this a bit more, in the current Max/MSP
implementation of an Integra module, both of the above scenarios result in
a method call, i.e. when we retrieve a value we call the 'bang' method of
a [float] or [int] object, there is no actual variable assignment/return
in the symbolic sense.

This doesn't make any difference to anything, but I guess having thought
this through a little more, the important thing isn't whether or not we
use a 'get' suffix, but that we define the behaviour of modules when they
receive OSC messages with zero arguments...

Jamie

Jamie



More information about the Dev mailing list