Re: binding script syntax

From: Shiro Kawai <shiro_at_lava.net>
Date: Fri, 12 May 2000 10:04:18 -1000

From: stanonik_at_cogsci.ucsd.edu (Ron Stanonik)
Subject: Re: binding script syntax
Date: Fri, 12 May 2000 05:21:29 -0700

> Yes, we had to rewrite closures to use backquote/comma.
>
> (define (script path foo) (... uses foo somewhere ...))
> (define (bind-it foo)
> (canvas 'bind item event `(script ,|W| ,foo))
> (canvas 'bind item anotherevent `(script ,|W| ,foo))

No, it doesn't work if you change the value of foo in the
script.

--shiro
Received on Fri May 12 2000 - 22:04:29 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST