Bruce & Breeanna Rennie
2017-01-22 21:44:46 UTC
Greetings to all,
Thanks to Clinton and Don Ward, we now have the new Unicon/Icon
Implementation Book available within the sourceforge download.
As I have been away from internet access, I have been reading the
current book as a evening activity. The section on trapped variables has
given rise to a question as follows.
Is there a use for or a need for this ability to associate a function
that can run when a value is assigned to a specific variable?
For example, in Unicon, one is allowed to define a default type and
value for procedure parameters. Is this a valid situation in which any
such variables could be created as trapped variable using a new system
defined function to make this a user define d trapped variable?
Are there other situations where such a facility could be useful?
regards
Bruce Rennie
Thanks to Clinton and Don Ward, we now have the new Unicon/Icon
Implementation Book available within the sourceforge download.
As I have been away from internet access, I have been reading the
current book as a evening activity. The section on trapped variables has
given rise to a question as follows.
Is there a use for or a need for this ability to associate a function
that can run when a value is assigned to a specific variable?
For example, in Unicon, one is allowed to define a default type and
value for procedure parameters. Is this a valid situation in which any
such variables could be created as trapped variable using a new system
defined function to make this a user define d trapped variable?
Are there other situations where such a facility could be useful?
regards
Bruce Rennie