Kyma Forum
  Tips & Techniques
  Passing parameters to scripts

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Passing parameters to scripts
Douglas Kraul
Member
posted 30 September 2004 07:05         Edit/Delete Message   Reply w/Quote
I have a number of fairly complicated scripts, mostly of the event-creation ilk, that often have 10 or more parameters. I'd like to make the use of these easier by encapsulating them in some fashion, the most immediate thought being to create a new class by "lifting". Unfortunately my attempts to use "green variables" as the mechanism for passing these parameters has failed. I seem to almost always come up against an incompatibility between the Smalltalk code and the substituting of a "green" where a normal variable was, even if I take pains to make the types capatible (at least I think I am).

I've done this in the past in some limited cases but the general approach is illusive. I suspect there is something I am not "getting" or have missed. Even passing simple scalar values as "green variables" creates issues in the Smalltalk code, ones that are often beyond my understanding of the subtleties between Smalltalk and Capytalk. Are there any techniques or object methods to help in this, maybe to coerce one type to another?

Doug

IP: Logged

SSC
Administrator
posted 30 September 2004 12:58         Edit/Delete Message   Reply w/Quote
Hi Doug,

What you describe *ought* to work. Could you email us an example?

Thanks!

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c