Whats wrong with: ##(0@0)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Whats wrong with: ##(0@0)

Sean Malloy-2
Riddle me this:

Why does the expression ##(0@0) not work in a workspace, but be a valid
expression in a method body?

Is it a dolphin specific shortcut to adding points to an array, rather than:

^Array with: 0@0 with: 1@2 with: 2@3

you can write

^#(##(0@0) ##(1@2) ##(2@3))

or something?


Reply | Threaded
Open this post in threaded view
|

Re: Whats wrong with: ##(0@0)

Yar Hwee Boon-3
Try searching for "compile time expression" in the archives.

--
Regards
Hwee Boon
MotionObj

On Mon, 19 Jul 2004 14:28:00 +1000, Sean Malloy  
<[hidden email]> wrote:

> Is it a dolphin specific shortcut to adding points to an array, rather  
> than:
>
> ^Array with: 0@0 with: 1@2 with: 2@3
>
> you can write
>
> ^#(##(0@0) ##(1@2) ##(2@3))
>
> or something?


Reply | Threaded
Open this post in threaded view
|

Re: Whats wrong with: ##(0@0)

Sean Malloy-2
"Yar Hwee Boon" <[hidden email]> wrote in message
news:[hidden email]...
> Try searching for "compile time expression" in the archives.

Ahh, got it now, Thanks!