On Thu, 18 Oct 2007, Thomas O Fredericks wrote:

The main difference is that moocow's conversion of a message into a string
appends a 0 at the end of the created list.

Most likely it shouldn't, unless it uses the 0 as separator or terminator in what could be any number of strings in the same message.

If the intent is that there can only be one string per list, then the 0 is superfluous, as in pd, "a list knows its own length", which is usually not the case in C/C++, and which is the reason for the terminator. This reason does not exist in Pd nor most other programming languages.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to