direct string comparision?

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

direct string comparision?

joachim-3
hi -

is there any chance to come to a direct string comparision with the new
parser?
for instance:

<CsoundSynthesizer>
<CsInstruments>
instr cmp
if "a" == "a" then
prints "well done\n"
endif
endin
</CsInstruments>
<CsScore>
i "cmp" 0 1
</CsScore>
</CsoundSynthesizer>

instead of:

<CsoundSynthesizer>
<CsInstruments>
instr cmp
i_a strcmp "a", "a"
if i_a == 0 then
prints "well done\n"
endif
endin
</CsInstruments>
<CsScore>
i "cmp" 0 1
</CsScore>
</CsoundSynthesizer>

(which is very clumsy if there are many comparisions)

thanks -

        joachim

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

rory walsh
That would be nice!

On 28 January 2012 21:35, joachim heintz <[hidden email]> wrote:

> hi -
>
> is there any chance to come to a direct string comparision with the new
> parser?
> for instance:
>
> <CsoundSynthesizer>
> <CsInstruments>
> instr cmp
> if "a" == "a" then
> prints "well done\n"
> endif
> endin
> </CsInstruments>
> <CsScore>
> i "cmp" 0 1
> </CsScore>
> </CsoundSynthesizer>
>
> instead of:
>
> <CsoundSynthesizer>
> <CsInstruments>
> instr cmp
> i_a strcmp "a", "a"
> if i_a == 0 then
> prints "well done\n"
> endif
> endin
> </CsInstruments>
> <CsScore>
> i "cmp" 0 1
> </CsScore>
> </CsoundSynthesizer>
>
> (which is very clumsy if there are many comparisions)
>
> thanks -
>
>        joachim
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
With 6 lines of code I have

instr 1
  if strcmp("foo", "foo") == 0 then
    prints "well done ?\n"
  else
    prints "noooooooooooooo\n"
  endif

  print strcmp("foo", "foo")
  print strcmp("foo", "bar")
  printk2 strcmpk("foo", "foo")
  printk2 strcmpk("foo", "bar")
endin

...
new alloc for instr 1:
well done ?
instr 1:  #i1 = 0.000
instr 1:  #i2 = 1.000
 i1     0.00000
 i1     1.00000
...

Is it useful ?

tito

On Sun, Jan 29, 2012 at 01:37:51AM +0000, Rory Walsh wrote:

> That would be nice!
>
> On 28 January 2012 21:35, joachim heintz <[hidden email]> wrote:
> > hi -
> >
> > is there any chance to come to a direct string comparision with the new
> > parser?
> > for instance:
> >
> > <CsoundSynthesizer>
> > <CsInstruments>
> > instr cmp
> > if "a" == "a" then
> > prints "well done\n"
> > endif
> > endin
> > </CsInstruments>
> > <CsScore>
> > i "cmp" 0 1
> > </CsScore>
> > </CsoundSynthesizer>
> >
> > instead of:
> >
> > <CsoundSynthesizer>
> > <CsInstruments>
> > instr cmp
> > i_a strcmp "a", "a"
> > if i_a == 0 then
> > prints "well done\n"
> > endif
> > endin
> > </CsInstruments>
> > <CsScore>
> > i "cmp" 0 1
> > </CsScore>
> > </CsoundSynthesizer>
> >
> > (which is very clumsy if there are many comparisions)
> >
> > thanks -
> >
> >        joachim
> >
> > ------------------------------------------------------------------------------
> > Try before you buy = See our experts in action!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-dev2
> > _______________________________________________
> > Csound-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

joachim-3
well done! (and certainly useful)
in git?
        joachim

Am 29.01.2012 18:49, schrieb Tito Latini:

> With 6 lines of code I have
>
> instr 1
>   if strcmp("foo", "foo") == 0 then
>     prints "well done ?\n"
>   else
>     prints "noooooooooooooo\n"
>   endif
>
>   print strcmp("foo", "foo")
>   print strcmp("foo", "bar")
>   printk2 strcmpk("foo", "foo")
>   printk2 strcmpk("foo", "bar")
> endin
>
> ...
> new alloc for instr 1:
> well done ?
> instr 1:  #i1 = 0.000
> instr 1:  #i2 = 1.000
>  i1     0.00000
>  i1     1.00000
> ...
>
> Is it useful ?
>
> tito
>
> On Sun, Jan 29, 2012 at 01:37:51AM +0000, Rory Walsh wrote:
>> That would be nice!
>>
>> On 28 January 2012 21:35, joachim heintz <[hidden email]> wrote:
>>> hi -
>>>
>>> is there any chance to come to a direct string comparision with the new
>>> parser?
>>> for instance:
>>>
>>> <CsoundSynthesizer>
>>> <CsInstruments>
>>> instr cmp
>>> if "a" == "a" then
>>> prints "well done\n"
>>> endif
>>> endin
>>> </CsInstruments>
>>> <CsScore>
>>> i "cmp" 0 1
>>> </CsScore>
>>> </CsoundSynthesizer>
>>>
>>> instead of:
>>>
>>> <CsoundSynthesizer>
>>> <CsInstruments>
>>> instr cmp
>>> i_a strcmp "a", "a"
>>> if i_a == 0 then
>>> prints "well done\n"
>>> endif
>>> endin
>>> </CsInstruments>
>>> <CsScore>
>>> i "cmp" 0 1
>>> </CsScore>
>>> </CsoundSynthesizer>
>>>
>>> (which is very clumsy if there are many comparisions)
>>>
>>> thanks -
>>>
>>>        joachim
>>>
>>> ------------------------------------------------------------------------------
>>> Try before you buy = See our experts in action!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-dev2
>>> _______________________________________________
>>> Csound-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Csound-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
It is not possible to use the same name for the func
and the opcode. We have to find a name for the string functions
related to strcmp and strcmpk. Ideas?

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

rory walsh
strcomp and strcompk?

On 29 January 2012 18:30, Tito Latini <[hidden email]> wrote:

> It is not possible to use the same name for the func
> and the opcode. We have to find a name for the string functions
> related to strcmp and strcmpk. Ideas?
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
> strcomp and strcompk?

Scmp and Scmpk ?

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

joachim-3
In reply to this post by Tito Latini
hmm ...
in hannover, i understood from something john was saying, that one
benefit of the new parser can be to allow a more functional syntax.
so i am not sure if it is wise to add some functions now. perhaps it is
better to wait until the new feature is possible, and many opcodes can
be written as opcode(arg1, arg2)?
        joachim

Am 29.01.2012 19:30, schrieb Tito Latini:

> It is not possible to use the same name for the func
> and the opcode. We have to find a name for the string functions
> related to strcmp and strcmpk. Ideas?
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
the only difference between func and opcode is the syntax

On Sun, Jan 29, 2012 at 07:42:36PM +0100, joachim heintz wrote:

> hmm ...
> in hannover, i understood from something john was saying, that one
> benefit of the new parser can be to allow a more functional syntax.
> so i am not sure if it is wise to add some functions now. perhaps it is
> better to wait until the new feature is possible, and many opcodes can
> be written as opcode(arg1, arg2)?
> joachim
>
> Am 29.01.2012 19:30, schrieb Tito Latini:
> > It is not possible to use the same name for the func
> > and the opcode. We have to find a name for the string functions
> > related to strcmp and strcmpk. Ideas?
> >


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
In reply to this post by joachim-3
For example, with a new strcmp??? function, a new symbol is added only.
Internally, the function becomes the strcmp opcode.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Steven Yi
Question for all: is it worth adding new functions, or is it better to
wait and try to get the parser to allow calling opcodes as functions?

On Sun, Jan 29, 2012 at 1:57 PM, Tito Latini <[hidden email]> wrote:

> For example, with a new strcmp??? function, a new symbol is added only.
> Internally, the function becomes the strcmp opcode.
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
> Question for all: is it worth adding new functions, or is it better to
> wait and try to get the parser to allow calling opcodes as functions?

If the syntax `strcmp???(Str)' is obsolete before being born,
it's not to add. Then we should make the accounts with
the compatibility of the code.

If the syntax is useful and forever, it's to add

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

jpff
In reply to this post by Steven Yi
It might be easier to implement == as an operator between strings as
originally suggested.
==John ff

> Question for all: is it worth adding new functions, or is it better to
> wait and try to get the parser to allow calling opcodes as functions?
>
> On Sun, Jan 29, 2012 at 1:57 PM, Tito Latini <[hidden email]>
> wrote:
>> For example, with a new strcmp??? function, a new symbol is added only.
>> Internally, the function becomes the strcmp opcode.
>>
>>



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Dr. Richard Boulanger-2
I like both.
___________________________________

Dr. Richard Boulanger, Ph.D.

Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215-3693

617-747-2485 (office)
774-488-9166 (cell)

____________________________________

____________________________________

____________________________________

On Jan 29, 2012, at 3:17 PM, [hidden email] wrote:

It might be easier to implement == as an operator between strings as
originally suggested.
==John ff

Question for all: is it worth adding new functions, or is it better to
wait and try to get the parser to allow calling opcodes as functions?

On Sun, Jan 29, 2012 at 1:57 PM, Tito Latini <[hidden email]>
wrote:
For example, with a new strcmp??? function, a new symbol is added only.
Internally, the function becomes the strcmp opcode.





------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
In reply to this post by jpff
I had thought about this solution (in yacc) but is `==' irate or krate ?

On Sun, Jan 29, 2012 at 08:17:59PM -0000, [hidden email] wrote:

> It might be easier to implement == as an operator between strings as
> originally suggested.
> ==John ff
>
> > Question for all: is it worth adding new functions, or is it better to
> > wait and try to get the parser to allow calling opcodes as functions?
> >
> > On Sun, Jan 29, 2012 at 1:57 PM, Tito Latini <[hidden email]>
> > wrote:
> >> For example, with a new strcmp??? function, a new symbol is added only.
> >> Internally, the function becomes the strcmp opcode.
> >>
> >>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Tito Latini
In reply to this post by Steven Yi
About the functions, I think that a good alias is forever.
If today I write a function `foo()' as an alias for the foobarbazquux
opcode, because it's short and many users find it useful, it's to add.
In an only-opcode-wolrd it's simple to add an alias for the
foobarbazquux opcode. Therefore, I think that to add a function is not
a problem if we see it like an alias.

It's a no-fear post and only the opinion of the
my left neuron (the other doesn't know csound)

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: direct string comparision?

Adam Puckett-2
I like == better.

On 1/29/12, Tito Latini <[hidden email]> wrote:

> About the functions, I think that a good alias is forever.
> If today I write a function `foo()' as an alias for the foobarbazquux
> opcode, because it's short and many users find it useful, it's to add.
> In an only-opcode-wolrd it's simple to add an alias for the
> foobarbazquux opcode. Therefore, I think that to add a function is not
> a problem if we see it like an alias.
>
> It's a no-fear post and only the opinion of the
> my left neuron (the other doesn't know csound)
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Loading...