Csound Csound-dev Csound-tekno Search About

[Cs-dev] Adding # to ingore list for gen 23

Date2009-11-17 08:43
FromAndres Cabrera
Subject[Cs-dev] Adding # to ingore list for gen 23
Hi all,

I've made a very small modification to GEN 23 which makes it ignore
"#" apart from ignoring ";". Just changing line 1301:

if (c == ';')

to

if (c==';' || c=='#')

This is very useful for reading Octave or Matlab text output files
which have comments starting with "#". Are there objections against
this?

Cheers,
Andrés

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-11-17 11:01
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Adding # to ingore list for gen 23
>
OK, but I think you need to change line 1295 as well

==John ff


 Hi all,
>
> I've made a very small modification to GEN 23 which makes it ignore
> "#" apart from ignoring ";". Just changing line 1301:
>
> if (c == ';')
>
> to
>
> if (c==';' || c=='#')
>
> This is very useful for reading Octave or Matlab text output files
> which have comments starting with "#". Are there objections against
> this?
>
> Cheers,
> Andrés
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-11-17 12:22
FromAndres Cabrera
SubjectRe: [Cs-dev] Adding # to ingore list for gen 23
Thanks for having a look. I've commited these changes.

Cheers,
Andrés

On Tue, Nov 17, 2009 at 11:01 AM,   wrote:
>>
> OK, but I think you need to change line 1295 as well
>
> ==John ff
>
>
>  Hi all,
>>
>> I've made a very small modification to GEN 23 which makes it ignore
>> "#" apart from ignoring ";". Just changing line 1301:
>>
>> if (c == ';')
>>
>> to
>>
>> if (c==';' || c=='#')
>>
>> This is very useful for reading Octave or Matlab text output files
>> which have comments starting with "#". Are there objections against
>> this?
>>
>> Cheers,
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net