Problem with send command???
Dave
dave at looktowindward.com
Sun Jun 22 10:50:34 EDT 2008
Hi,
Yes, I could understand it if it were using in the <time> clause, but
I'm not. If so do this:
on TestIt @theArray,theValue
put 123 into theArray["Dave"]
end TestIt
on mouseUp
local myDoStatement
local mySendStatement
local myArray
put empty into myArray
put "TestIt myArray,1" into myDoStatement
do myDoStatement
end mouseUp
It works ok, but what I want to be able to do is to have the command
sent to a different object as in:
put the long id of field "xyz" into myHandlerLocation
send "TestIt myArray,1" to myHandlerLocation
Is there no way of doing this in RunRev?
All the Best
Dave
On 22 Jun 2008, at 15:39, Mark Schonewille wrote:
> Hi Klaus,
>
> I tried that while you wrote it. It doesn't work. I believe the
> send command just is't capable of setting variables by reference.
> This seems logical, if you think of what would be happening if you
> add "in 0 millisecs".
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Benefit from our inexpensive hosting services. See http://economy-x-
> talk.com/server.html for more info.
>
> On 22 jun 2008, at 16:33, Klaus Major wrote:
>>
>> I think yo have to create a variable first before you can
>> reference it.
>>
>> Try this:
>>
>> on mouseUp
>> local myArray
>> put empty into myArray
>> send "TestIt myArray,1" to me
>> end mouseUp
>>
>>
>>
>> Regards
>>
>> Klaus Major
>> klaus at major-k.de
>> http://www.major-k.de
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list