1. Help me for the love of god (please don't get mad over that)

Hi,

Here is a program:
sequence notes, new
atom num
notes = {{'a','b'}}
new = {'a','b'}
num = match(new, notes)
?num
?new
?notes

Why is num 0 shouldn't it be 1?

Albert

new topic     » topic index » view message » categorize

2. Re: Help me for the love of god (please don't get mad over that)

On Sun, 8 Nov 1998 19:54:00 EST, Albert Brauneis <Dajawu36 at AOL.COM> wrote:

>Hi,
>
>Here is a program:
>sequence notes, new
>atom num
>notes = {{'a','b'}}
>new = {'a','b'}
>num = match(new, notes)
>?num
>?new
>?notes
>
>Why is num 0 shouldn't it be 1?
>
>Albert

num = find(new, notes)
num now equals 1
OR
notes = {'a', 'b'}
num = match(new, notes)
num now equals 1
_________________________

Lucius L. Hilley III    <A HREF="mailto:lhilley at cdc.net
">lhilley at cdc.net</A>
http://www.cdc.net/~lhilley
http://www.americanantiques.com
http://www.dragonvet.com
_________________________
I sure hope my email addy turns out fine.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu