Hello everybody,

I'm making software which have to port messages via a "FileAccess" stack to
other stacks. These are the scripts:

--of a button
on mouseUp
  stuur "portExercise 2","Generic Elements","Exercises"
answer the result
end mouseUp

--of this button's stack
on stuur par1 par2 par3
 open stack "/Mac HD/My Program/Generic Elements/fileaccess.mc"
 send "stuur par1 par2 par3" to stack "fileaccess"
 close stack "fileaccess"
end stuur

--of the fileaccess stack
on stuur mess fold goal
 lock screen
 open stack ("/Mac HD/My Program/" & fold & "/" & goal & ".mc")
 send mess to stack goal
 put the result into mem
 close stack doel
 return mem
end stuur

If I execute from the fileaccess stack
 stuur "portExercise 2","Generic Elements","Exercises"
 answer the result

Then I get the exercise likewise I want. But if I do this from the button's
stack, the parameters don't get trought. What am I doing wrong. I think its
simple as a comma or quote, but I don't get in it.

Thanks in advance,
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