[Csnd] How to print % ?
Date | 2009-12-07 19:05 |
From | Rene Djack |
Subject | [Csnd] How to print % ? |
Hi list, A simple and may be stupid question: How to print "%" within csound? I have tried all following by i always get a segmentation fault. prints "%" prints "%%" Sformat = "%" prints Sformat Sformat = "%%" prints Sformat Sformat sprintf "%%.%d f\t", 0 prints Sformat I am on ubuntu... Cheers, René |
Date | 2009-12-07 19:16 |
From | Victor Lazzarini |
Subject | [Csnd] Re: How to print % ? |
Try using puts "%", 1 On 7 Dec 2009, at 19:05, Rene Djack wrote: > Hi list, > > A simple and may be stupid question: > > How to print "%" within csound? > > I have tried all following by i always get a segmentation fault. > > prints "%" > prints "%%" > > Sformat = "%" > prints Sformat > > Sformat = "%%" > prints Sformat > > Sformat sprintf "%%.%d f\t", 0 > prints Sformat > > I am on ubuntu... > > Cheers, > René Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2009-12-07 19:50 |
From | Rene Djack |
Subject | [Csnd] Re: Re: How to print % ? |
This works. Thanks a lot Cheers, René 2009/12/7 Victor Lazzarini <Victor.Lazzarini@nuim.ie> Try using |