pwgl-users: variable unbound

View: New views
2 Messages — Rating Filter:   Alert me  

pwgl-users: variable unbound

by Luís Antunes Pena-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

how to access n PWGL to a variable that was defined in a Lisp-code-box
with something like (setf var '(1 2 3))?

I tried the eval-box but I get the message of "variable unbound".

Luis


--
Luís Antunes Pena
http://icem.folkwang-hochschule.de/~pena

Re: pwgl-users: variable unbound

by Mika Kuuskankare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Luis,

It depends what you are doing. In general I would say that accessing  
variables like that is perhaps not the best way unless you are  
completely sure what you are doing. You CAN use eval-box to access the  
variable but remember to evaluate the 'text-box' and use the right  
package in the 'eval-box' (e.g., cl-user::var).

If you need in a patch something that behaves like a variable take a  
look at PWGL-value box. There are some tutorials covering that in, for  
example, Tutorial/Control/PWGL-value1.

best,

Mika


On 31.7.2008, at 18:12, Luís Antunes Pena wrote:

> Hello,
>
> how to access n PWGL to a variable that was defined in a Lisp-code-box
> with something like (setf var '(1 2 3))?
>
> I tried the eval-box but I get the message of "variable unbound".
>
> Luis
>
>
> --
> Luís Antunes Pena
> http://icem.folkwang-hochschule.de/~pena

Dr. Mika Kuuskankare
Researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Tel: +358 (0)40 5415 233
Skype: mkuuskan
home page: www.siba.fi/~mkuuskan