[PD] Re: expr table functions

Shahrokh Yadegari sdy at ucsd.edu
Mon May 23 22:40:56 CEST 2005


>

Jamie,

The correct syntax for what you are looknig for is

expr size("$s2")

note the double quotes.

cheers,
Shahrokh.


> Date: Mon, 23 May 2005 14:45:56 +0100
> From: Jamie Bullock <jamie at postlude.co.uk>
> Subject: [PD] expr table functions
> To: PD List <pd-list at iem.at>
> Message-ID: <1116855956.7943.8.camel at localhost.localdomain>
> Content-Type: text/plain
>
> Hi!
>
> Has anyone successfully used the table functionality offered by [expr]?
> I can get simple table lookup to work as follows:
>
> float x	      symbol y
> |	      |
> [expr $s2[$f1]]
>
>
> But I can't get any of the table functions to work. For example, [expr
> size($s1)] gives the following console output:
>
> error: expr: syntax error
>  expr size($s1)
> ... couldn't create
>
>
> I am using expr 0.4 with PD 0.37.1 on Linux.
>
> Thanks,
>
> Jamie
>
>





More information about the Pd-list mailing list