Re: [PD-dev] float a vs symbol 1

2007-01-16 Thread Hans-Christoph Steiner


I think warnings would be good at the very least.  Wanna submit a  
patch with some warnings?


.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: selectorsymbol messagesymbol,  
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=maximuspath=% 
2Fhsext%2Frev=0sc=0


Claude
--
http://claudiusmaximus.goto10.org


___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev





News is what people want to keep hidden and everything else is  
publicity.  - Bill Moyers




___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] float a vs symbol 1

2007-01-10 Thread Claude Heiland-Allen

float a
 |
[print]

error: Bad arguments for message 'float' to object 'messresponder'


but


symbol 1
 |
[print]

print: symbol

(in fact an empty symbol: selectorsymbol messagesymbol, 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=maximuspath=%2Fhsext%2Frev=0sc=0


Claude
--
http://claudiusmaximus.goto10.org


___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] float a vs symbol 1

2007-01-10 Thread Hans-Christoph Steiner


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: selectorsymbol messagesymbol,  
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=maximuspath=% 
2Fhsext%2Frev=0sc=0


Claude
--
http://claudiusmaximus.goto10.org


___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev





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




___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev