On Friday 31 May 2013 at 11:04, jpff@cs.bath.ac.uk wrote:
Two questions that we thought might be good to seek the community views.1: Initialisation of arrays.We now have statements likekT[] = fillarray(1,2,3,4)working. Some concern was expressed about the long-windedness on this.It has been suggested that we use the simpler/shorterkT[] = array(1,2,3,4)or we could seek some other syntax. As far as we can tell the formkT[] = [1,2,3,4]is problematic, but we could (for effort) introduce something likekT[] = '[1,2,3,4]but is it worth it and would that be clear anyway?No promises as to what we eventually do but what would be best for users?2: Strings in ScoresThe question relates to escaped characters. Currently the string"abc\n"is stored as 5 characters. If it is used in an instrument to print thenthe printkS or hatever interprets the \n as a newline.The alternative is to store this as 4 characters and do the interpretationof escapes at read time. The down side is that to print a \ characterthis way would require 4 \s in the score (that is "\\\\"). However then "could be included in a string. It is unclear to me which is best.Any thoughts?==John ff------------------------------------------------------------------------------Get 100% visibility into Java/.NET code with AppDynamics LiteIt's a free troubleshooting tool designed for productionGet down to code-level detail for bottlenecks, with <2% overhead.Download for free and get started troubleshooting in minutes._______________________________________________Csound-devel mailing list