[PD] "argument out of range" when using $1/$2 for send/receive name

Frank Barknecht fbar at footils.org
Mon Nov 24 10:08:55 CET 2008


Hallo,
Rich E hat gesagt: // Rich E wrote:

> I'm getting the following error in the pd window when I try to use
> send/receive names like $1/$2:
> 
> error: #1/$2: argument number out of range
> error: #1/gui/$2: argument number out of range

Are you really using #1 or rather $1 here? 

Anyway the error "argument number out of range" usually comes from
message boxes that get a list which is shorter than the biggest dollar
variable in it, like this:

 [1 2 3(
 |
 [$4(

It generally has nothing to do with send/receive. So I'd recommend to
look for dollar signs in message boxes and check their inputs.

Ciao
-- 
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org__




More information about the Pd-list mailing list