Hi, it is now possible to run code directly in (another) coroutine with 'yield':
(yield 'any ['any2] [. prg]) -> any If 'prg' is given, it is executed in coroutine 'any2' before it continues with its normal processing. Now, if 'prg' calls 'yield' by itself, the other coroutine will not continue but returns immediately. For example, to get the value of 'MyVar' from the environment at the point of execution in coroutine 'crt7': (yield NIL 'crt7 (yield MyVar)) Or simply return the whole binding environment of 'crt7': (yield NIL 'crt7 (yield (env))) I can explain more tomorrow at Fridays for Functions. ☺/ A!ex -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
