Phil Davis wrote on [EMAIL PROTECTED]:

> Since no one else responded...
> 

> You're right - it's a small thing. The "send" command in the stack
> script is malformed for your purposes. par1, par2 and par3 are names of
> containers, but MC thinks their names are the parameter values. To make
> it work, it should read:
> 
> --of this button's stack
> on stuur par1 par2 par3
> open stack "/Mac HD/My Program/Generic Elements/fileaccess.mc"
> 
> -- here's the original line:
> --send "stuur par1 par2 par3" to stack "fileaccess"
> 
> -- here's the re-do:
> put quote & comma & quote into qcq  -- for brevity below
> send ("stuur" && quote & par1 & qcq & par2 & qcq & par3 & quote) to
> stack "fileaccess"
> close stack "fileaccess"
> end stuur
> 
> 
> The param values need commas between them as you rightly show in the
> "mouseUp" handler above. I also enclosed each one in quotes because at
> least one of them has an embedded space; it's possible that the quotes
> will be interpreted as part of the value rather than as a delimiter, but
> HEY - I have to leave *something* in question!
> 
> HTH.
> Phil
Thanks a lot Phil! I needed this very quickly.

Sjoerd Op 't Land 


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to