Re: [Factor-talk] Button stack effect problem

2012-12-18 Thread Samuel Proulx
I've been experimenting with it and I now have another question. I've figured a way to use symbols in the quotations like so: SYMBOL: a 1 a set Press *a get* *'*[ drop *_* ... ] border-button gadget. I don't know if that's the best the way to do it but it works. Although, what I would like to

Re: [Factor-talk] Button stack effect problem

2012-12-18 Thread John Benediktsson
If you use global values, this should work: SYMBOL: a 1 a set-global Press [ drop a get-global ... ] border-button gadget. The problem with set and get, is that the 'set' is using the namespace of the listener which may (likely not) be the namespace of the quotation being executed by the

Re: [Factor-talk] Button stack effect problem

2012-12-18 Thread Samuel Proulx
Yes, it makes sense to me. Thank you! Le mardi 18 décembre 2012, John Benediktsson a écrit : If you use global values, this should work: SYMBOL: a 1 a set-global Press [ drop a get-global ... ] border-button gadget. The problem with set and get, is that the 'set' is using the namespace