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

Claude Heiland-Allen claudiusmaximus at goto10.org
Wed Jan 10 16:44:31 CET 2007


"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





More information about the Pd-dev mailing list