pass by reference with multiple parameters?

Dar Scott dsc at swcp.com
Sun Jul 13 23:55:00 EDT 2003


On Sunday, July 13, 2003, at 10:32 PM, Mark Wieder wrote:

> It seems that after the first instance of a byReference argument all
> other arguments are also taken to be by reference. I guess the space
> is the result of trying to take the reference of 6.

Good tests.  It is normal that parameters not used by the caller are  
empty.  The extra space is from the &&.  The script works as expected  
from another script, the problem is testing in the message box.

>
> Good one, Alex... this sounds buggable to me.

Yes.  Alex has already reported another problem in debugging tools and  
by-reference.  I guess they are not used as often and have fallen into  
the crack.

Dar Scott


************************************************************************ 
****
   Dar Scott Consulting    http://www.swcp.com/dsc/    Programming  
Services
************************************************************************ 
****




More information about the use-livecode mailing list