[PD] Testing for empty creation args?

Frank Barknecht fbar at footils.org
Tue Oct 14 13:27:03 CEST 2008


Hallo,
Bill Gribble hat gesagt: // Bill Gribble wrote:

> I am doing something like this:
> 
> |loadbang|
> |
> |symbol $1|
> |
> |readfile $1 cr, rewind(
> |
> |textfile|
> 
> There's also an interface to set the filename later.

Use this instead: 

  [list append $1]
  |
  [select 0]
  |        \
  [nofile(  [s $0-FILENAME]
  |        
  [s $0-FILENAME]

Ciao
-- 
Frank




More information about the Pd-list mailing list