Thanks to everyone who replied, this makes sense (methods with args
need separation).
I'll check out -> too.
I appreciate it!!!
Mike
On Dec 9, 5:02 pm, Meikel Brandmeyer wrote:
> Hi,
>
> Am 09.12.2009 um 20:04 schrieb Mike:
>
> > If I write:
>
> > (.setMessage (.getMonitor this) "Counting...")
Hi,
Am 09.12.2009 um 20:04 schrieb Mike:
> If I write:
>
> (.setMessage (.getMonitor this) "Counting...")
>
> and it works, why would
>
> (.. this getMonitor setMessage "Counting...")
>
> give me an IllegalArgumentException: Malformed member expression
> (count-script.clj:11)?
Because your .
On Dec 9, 10:14 pm, Joost wrote:
> I think you meant
>
> (.. this (getMonitor) (setMessage "Counting"))
>
> Every method call should be encloded in parentheses. Unless I've
> misread the docs for ..
You don't seem to need parentheses for methods with no arguments. e.g.
(.. " Foo " trim toLowe
On 9 dec, 22:53, James Reeves wrote:
> It should be: (.. this getMonitor (setMessage "Counting"))
I think you meant
(.. this (getMonitor) (setMessage "Counting"))
Every method call should be encloded in parentheses. Unless I've
misread the docs for ..
--
You received this message because yo
On Dec 9, 7:04 pm, Mike wrote:
> If I write:
>
> (.setMessage (.getMonitor this) "Counting...")
>
> and it works, why would
>
> (.. this getMonitor setMessage "Counting...")
>
> give me an IllegalArgumentException: Malformed member expression
> (count-script.clj:11)?
It should be: (.. this getMon
If I write:
(.setMessage (.getMonitor this) "Counting...")
and it works, why would
(.. this getMonitor setMessage "Counting...")
give me an IllegalArgumentException: Malformed member expression
(count-script.clj:11)?
I'm using 1.0.0, if that makes a difference.
Sorry if this is a newb questio