Re: comparing lists

2004-07-10 Thread Irv Kalb
If I understand what you are looking for, try something like this (untested):
on FindMatches listA, listB
  -- The output will be a list of all items which are in both lists
  matchList = []
  nItemsInListA = count(listA)
  -- iterate through all the items in the first list
  repeat with i = 1 to nItemsInListA
-- grab each item
itemFromListA = listA[i]
-- see if it exists in the other list
where = getOne(listB, itemFromListA)
-- if so, add it to the resulting matching list
if where > 0 then
   append(matchList, itemFromListA)
end if
  end repeat
  -- return the matching list
  return matchList
end
Hope this helps,
Irv
At 9:11 PM -0500 7/10/04, Matt Wells wrote:
Hello,
I'm at a bit of loss here on comparing two lists
I need to find which values match in each list.
Basically does list A also have a 24 as does list B.
Here are the lists:
B1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25]
I1 = [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26]
C1 = 1
C2 = highest number of the two lists
  repeat with x = c1 to c2
   
   --Some Crafty CODE

  end repeat
Any Ideas? Or is there a simple way of doing this?
My brain is fried - need beer - going home
Thanks for the input

[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/lingo-l.cgi  To post messages to the 
list, email [EMAIL PROTECTED]  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]

--
Multimedia Wrangler.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


comparing lists

2004-07-10 Thread Matt Wells


Hello, 

I'm at a bit of loss here on comparing two lists
I need to find which values match in each list.

Basically does list A also have a 24 as does list B. 

Here are the lists:

B1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25]

I1 = [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26]

C1 = 1
C2 = highest number of the two lists

  repeat with x = c1 to c2

   --Some Crafty CODE

  end repeat 

Any Ideas? Or is there a simple way of doing this?

My brain is fried - need beer - going home

Thanks for the input



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Going backward

2004-07-10 Thread Colin Holgate
Whenever you are using the newer version of Director there is a facility
of updating files. I wonder, can i somehow make reverse action? In
particular, i'd like to transform a 8.5. file to 8.0 one.
Read this, especially the second half:
http://director-online.com/buildArticle.php?id=1034
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: Re: Lingo-l digest, Vol 1 #1305 - 13 msgs

2004-07-10 Thread John R. Sweeney Jr
on 7/10/04 12:28 PM, John Mathis at [EMAIL PROTECTED] wrote:

> at least you're not on vacation...

This is turning into comedy central. :)
John


===
John R. Sweeney Jr.([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)  847.310.5959 (office/fax)
=== 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Going backward

2004-07-10 Thread Petro Bochan
Greetings to all!

Whenever you are using the newer version of Director there is a facility
of updating files. I wonder, can i somehow make reverse action? In
particular, i'd like to transform a 8.5. file to 8.0 one.

Thanks
Panda

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]



Re: Re: Lingo-l digest, Vol 1 #1305 - 13 msgs

2004-07-10 Thread John Mathis
at least you're not on vacation...

- Original Message -
From: "Ronald Kozlowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 10, 2004 11:08 AM
Subject:  Re: Lingo-l digest, Vol 1 #1305 - 13 msgs


> I am attending a Conference and will be out of the office till the 19th.
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]
>
>

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: Lingo-l digest, Vol 1 #1305 - 13 msgs

2004-07-10 Thread Ronald Kozlowski
 I am attending a Conference and will be out of the office till the 19th. 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]