[PD-dev] "float a" vs "symbol 1"

Hans-Christoph Steiner hans at eds.org
Wed Jan 10 18:56:57 CET 2007


At the very least, there should be informative warnings.  I've been  
documenting things like this here:

http://pure-data.cvs.sourceforge.net/pure-data/doc/additional/ 
messageoddness/

.hc

On Jan 10, 2007, at 10:44 AM, Claude Heiland-Allen wrote:

> "float a"
>  |
> [print]
>
> error: Bad arguments for message 'float' to object 'messresponder'
>
>
> but
>
>
> "symbol 1"
>  |
> [print]
>
> print: symbol
>
> (in fact an empty symbol: selector<symbol> message<symbol<>>,  
> checked with Print.hs from hsext [1])
>
>
> I think *both* cases should error, with a more informative error  
> message (such as listing the offending arguments).
>
>
> Also, maybe (optional) warnings for cases such as:
>
> "float 1 2 3"   (equivalent to "float 1")
> "float 1 a b"   (equivalent to "float 1")
> "symbol a b c"  (equivalent to "symbol a")
> "symbol a 1 2"  (equivalent to "symbol a")
>
>
> Any thoughts?
>
>
> [1] http://devel.goto10.org/listing.php?repname=maximus&path=% 
> 2Fhsext%2F&rev=0&sc=0
>
> Claude
> -- 
> http://claudiusmaximus.goto10.org
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev


------------------------------------------------------------------------

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli






More information about the Pd-dev mailing list