Witango-Talk: [OT] Just too funny

2006-02-16 Thread Scott Cadillac

Who knows if it's true, but the possibilities, eh?

http://apple.slashdot.org/apple/06/02/16/1826257.shtml

Like I said, just too funny.

Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: [OT] Just too funny

2006-02-16 Thread Robert Garcia

I just don't see it, read this last night on digg.

Dvorak is one of those guys who will scream from the rooftops when he  
gets something right, but in the end


Mac OS X is what makes the mac special, they would be more likely to  
sell os x for any PC, which I also don't think they will do, but who  
knows.


Before Gil Amelio bought NeXT/Jobs, apple serious considered using NT  
as the OS. I think that is the closest they will come.


--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Feb 16, 2006, at 12:39 PM, Scott Cadillac wrote:



Who knows if it's true, but the possibilities, eh?

http://apple.slashdot.org/apple/06/02/16/1826257.shtml

Like I said, just too funny.

Scott Cadillac,
Email: [EMAIL PROTECTED]
http://scott.cadillac.bz


__ 
__

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf




TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Witango-Talk: Array processing

2006-02-16 Thread Wolf, Gene
I've seen a number of the array processing commands like @intersect, 
@Union, etc. but I need something that compares two arrays and returns to me 
those rows that do not exist in BOTH arrays. Is there anything like the 
equivalent of [EMAIL PROTECTED] *laughs*

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: Array processing

2006-02-16 Thread Scott Cadillac
Hi Gene,

 I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays.

I don't get it. Is this a trick question?


Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 


  

 -Original Message-
 From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 16, 2006 2:42 PM
 To: witango-talk@witango.com
 Subject: Witango-Talk: Array processing
 
 I've seen a number of the array processing commands like 
 @intersect, @Union, etc. but I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays. Is there anything like the equivalent of 
 [EMAIL PROTECTED] *laughs* 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Array processing

2006-02-16 Thread Roland Dumas


On Feb 16, 2006, at 1:41 PM, Wolf, Gene wrote:

I've seen a number of the array processing commands like  
@intersect, @Union, etc. but I need something that compares two  
arrays and returns to me those rows that do not exist in BOTH arrays.



the numrows of the resultant array is infinite ;-)





Is there anything like the equivalent of [EMAIL PROTECTED] *laughs*
__ 
__

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf




TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: Array processing

2006-02-16 Thread Wolf, Gene
   Not at all. Assume I have array 1 with the following rows:

1
2
3
4
5

And I have Array 2 with the following rows:

2
3
5
6
7

I'd like to have some kind of function that would tell me all of the elements 
of these two arrays that do not appear in BOTH arrays, those being 1,4,6,7. 
Does that help?

-Original Message-
From: Scott Cadillac [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 4:59 PM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: Array processing


Hi Gene,

 I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays.

I don't get it. Is this a trick question?


Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 


  

 -Original Message-
 From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 16, 2006 2:42 PM
 To: witango-talk@witango.com
 Subject: Witango-Talk: Array processing
 
 I've seen a number of the array processing commands like 
 @intersect, @Union, etc. but I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays. Is there anything like the equivalent of 
 [EMAIL PROTECTED] *laughs* 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Array processing

2006-02-16 Thread Matt Muro
Just a thought as I run out the door here (I haven't tried this) ...

What about using @UNION to combine the arrays and then performing
@DISTINCT on the combined array to have only the DISTINCT elements
returned.



witango-talk@witango.com on Thursday, February 16, 2006 at 5:03 PM -0500
wrote:
   Not at all. Assume I have array 1 with the following rows:

1
2
3
4
5

And I have Array 2 with the following rows:

2
3
5
6
7

I'd like to have some kind of function that would tell me all of the
elements of these two arrays that do not appear in BOTH arrays, those
being 1,4,6,7. Does that help?

-Original Message-
From: Scott Cadillac [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 4:59 PM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: Array processing


Hi Gene,

 I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays.

I don't get it. Is this a trick question?


Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 


  

 -Original Message-
 From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 16, 2006 2:42 PM
 To: witango-talk@witango.com
 Subject: Witango-Talk: Array processing
 
 I've seen a number of the array processing commands like 
 @intersect, @Union, etc. but I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays. Is there anything like the equivalent of 
 [EMAIL PROTECTED] *laughs* 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf






Matt Muro  [EMAIL PROTECTED]
Harvard University   phone:  617.998.8522
Division of Continuing Education   fax:  617.495.9176


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: Array processing

2006-02-16 Thread Wolf, Gene
This would give me all members of both arrays. Yes, I could then use that to 
look at each individual array and if the number in the Union'd array did not 
appear I could build my own list. I was just hoping that there was some 
function I may have overlooked that would do this for me. *laughs* Apparently 
not from the responses. Sounds like it's time for me to build a tcf to do this.

-Original Message-
From: Matt Muro [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 5:14 PM
To: witango-talk@witango.com
Cc: witango-talk@witango.com
Subject: Re: Witango-Talk: Array processing


Just a thought as I run out the door here (I haven't tried this) ...

What about using @UNION to combine the arrays and then performing
@DISTINCT on the combined array to have only the DISTINCT elements
returned.



witango-talk@witango.com on Thursday, February 16, 2006 at 5:03 PM -0500
wrote:
   Not at all. Assume I have array 1 with the following rows:

1
2
3
4
5

And I have Array 2 with the following rows:

2
3
5
6
7

I'd like to have some kind of function that would tell me all of the
elements of these two arrays that do not appear in BOTH arrays, those
being 1,4,6,7. Does that help?

-Original Message-
From: Scott Cadillac [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 4:59 PM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: Array processing


Hi Gene,

 I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays.

I don't get it. Is this a trick question?


Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 


  

 -Original Message-
 From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 16, 2006 2:42 PM
 To: witango-talk@witango.com
 Subject: Witango-Talk: Array processing
 
 I've seen a number of the array processing commands like 
 @intersect, @Union, etc. but I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays. Is there anything like the equivalent of 
 [EMAIL PROTECTED] *laughs* 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf






Matt Muro  [EMAIL PROTECTED]
Harvard University   phone:  617.998.8522
Division of Continuing Education   fax:  617.495.9176


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: [OT] Just too funny

2006-02-16 Thread Dan Stein
Almost as big a waste of time as the press coverage of the VP's hunting
accident.


on 2/16/06 16:41, Robert Garcia at [EMAIL PROTECTED] wrote:

 I just don't see it, read this last night on digg.
 
 Dvorak is one of those guys who will scream from the rooftops when he
 gets something right, but in the end
 
 Mac OS X is what makes the mac special, they would be more likely to
 sell os x for any PC, which I also don't think they will do, but who
 knows.
 
 Before Gil Amelio bought NeXT/Jobs, apple serious considered using NT
 as the OS. I think that is the closest they will come.

-- 
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com 

The love of one's country is a splendid thing. But why should love stop at
the border?  

Pablo Casals




TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: Array processing

2006-02-16 Thread Scott Cadillac
Hi Gene,

I realize this is probably what you were trying to say, but your wording
needs a little refinement.

Maybe: compile a set of rows from each array, that do not have a match in
the opposite array.

My Witango is still a little fuzzy, but I think if you loop through each
array and @FILTER upon the array for what does not equal (!=) from the
opposite array, you'll have a collection of rows that are left over from
each loop - then just @ADDROWS them together to make one array.

Something like that. Hope that helps.

Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 
  

 -Original Message-
 From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 16, 2006 3:04 PM
 To: witango-talk@witango.com
 Subject: RE: Witango-Talk: Array processing
 
Not at all. Assume I have array 1 with the following rows:
 
 1
 2
 3
 4
 5
 
 And I have Array 2 with the following rows:
 
 2
 3
 5
 6
 7
 
 I'd like to have some kind of function that would tell me all 
 of the elements of these two arrays that do not appear in 
 BOTH arrays, those being 1,4,6,7. Does that help?
 
 -Original Message-
 From: Scott Cadillac [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 16, 2006 4:59 PM
 To: witango-talk@witango.com
 Subject: RE: Witango-Talk: Array processing
 
 
 Hi Gene,
 
  I need something that compares
  two arrays and returns to me those rows that do not exist in BOTH 
  arrays.
 
 I don't get it. Is this a trick question?
 
 
 Scott Cadillac,
 Email: [EMAIL PROTECTED]
 http://scott.cadillac.bz 
 
 
   
 
  -Original Message-
  From: Wolf, Gene [mailto:[EMAIL PROTECTED]
  Sent: Thursday, February 16, 2006 2:42 PM
  To: witango-talk@witango.com
  Subject: Witango-Talk: Array processing
  
  I've seen a number of the array processing commands like 
  @intersect, @Union, etc. but I need something that compares 
 two arrays 
  and returns to me those rows that do not exist in BOTH arrays. Is 
  there anything like the equivalent of [EMAIL PROTECTED] *laughs* 
  __
  __
  TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
  
 
 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Array processing

2006-02-16 Thread Alan Wolfe
It sounds like you want anEXCLUSIVE OR command hehe

If the arrays are small you could loop through each of them and check each element. If the element you currently on is not in the other array, add it to a 3rd array.

after you loop through both arrays you should have your list but if it's large arrays, this may be too slow to be practical.

If it is too slow you could maybe do this in an exe or dll or something if it was worth while and call it with an external action.

another idea might be if you are getting these 2 arrays from a database, maybe you can code this in your sql.

Like if you have these 2 statements to make your two arrays:

select anumber from tablea

select anumber from tableb

instead you could to these 2 and put the 2 arrays together:

select anumber from tablea where anumber not in (sel anumber from tableb)

select anumber from tableb where anumber not in (sel anumber from tablea)
if you are getting these from the database, the database can cull results alot faster than witango can, especially if you are using @for or @rows (:
On 2/16/06, Wolf, Gene [EMAIL PROTECTED] wrote:
 I've seen a number of the array processing commands like @intersect, @Union, etc. but I need something that compares two arrays and returns to me those rows that do not exist in BOTH arrays. Is there anything like the equivalent of [EMAIL PROTECTED] *laughs*
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf




TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: Array processing

2006-02-16 Thread Ben Johansen
Ok, up on the goodies there was a submission by Kevin
ID:  1
Name:   ArraysPlus.tcf
Type:   Tango Class File (TCF)
Description:Array Management
File Link:  File
2nd File Link:  
Notes Link: Notes
Author: Kevin Quinn
Author EMail:   [EMAIL PROTECTED]

It has an exclusive method that might be what your looking for

Ben

-Original Message-
From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 1:42 PM
To: witango-talk@witango.com
Subject: Witango-Talk: Array processing

I've seen a number of the array processing commands like @intersect,
@Union, etc. but I need something that compares two arrays and returns to me
those rows that do not exist in BOTH arrays. Is there anything like the
equivalent of [EMAIL PROTECTED] *laughs*

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Array processing

2006-02-16 Thread Roland Dumas
if that doesn't work, you might play with the logic of:- intersecting two arrays- sorting so that identical rows will be adjacent- cycling through, comparing adjacent rows, and if they are alike, nuking them both. (or keeping a tally of all to be nuked and doing it after you identify the pairs)On Feb 16, 2006, at 2:42 PM, Ben Johansen wrote:Ok, up on the goodies there was a submission by KevinID:  	 1Name: 	ArraysPlus.tcfType: 	Tango Class File (TCF)Description: 	Array ManagementFile Link: 	File2nd File Link: 	Notes Link: 	NotesAuthor: 	Kevin QuinnAuthor EMail: 	[EMAIL PROTECTED]It has an exclusive method that might be what your looking forBen-Original Message-From: Wolf, Gene [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 16, 2006 1:42 PMTo: witango-talk@witango.comSubject: Witango-Talk: Array processing    I've seen a number of the array processing commands like @intersect,@Union, etc. but I need something that compares two arrays and returns to methose rows that do not exist in BOTH arrays. Is there anything like theequivalent of [EMAIL PROTECTED] *laughs*TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.tafTO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf  Roland A. Dumas310 W. Bellevue Ave.San Mateo, CA 94402650-347-1373415-412-9300 (cell)AIM: radumas[EMAIL PROTECTED] 


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: Array processing

2006-02-16 Thread David Shelley
Another way to do this would be to create an array of all the rows in array1
that are not in array2, and an array of all the rows in 2 that are not in 1,
then append them together.

@assign local$array1 @array value=1;2;4;5;6;
@assign local$array2 @array value=2;3;4;5;6;7;

@assign local$in1not2 
@filter array=local$array1 expr=!(@@local$array2 contains #1)
@assign local$in2not1 
@filter array=local$array2 expr=!(@@local$array1 contains #1)

If both arrays are not empty then 
the result is local$in1not2 + local$in2not1
Else if local$in1not2 is not empty
the result is local$in1not2
Else 
the result is local$in2not1 


@if expr=@numrows array=local$in1not20  @numrows
array=local$in2not10
@assign local$result @@local$in1not2
@addrows array=local$result value=@@local$in2not1
@elseif expr=@numrows array=lcoal$in1not20
@assign local$result @@local$in1not2
@else
@assign local$result @@local$in2not1
/@if

@@local$result then contains the values 1;3;7;

Note that though this method uses only 2 filters and an addrows to implement
an exclusive or, the filter statements can be quite slow if the arrays are
large.

Also, I ran the code above through my tango debugger an it works, however
some modifications will be required for multi-column arrays or when doing
the comparison on a variable column number.

Dave Shelley

-Original Message-
From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 5:23 PM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: Array processing

This would give me all members of both arrays. Yes, I could then use that to
look at each individual array and if the number in the Union'd array did not
appear I could build my own list. I was just hoping that there was some
function I may have overlooked that would do this for me. *laughs*
Apparently not from the responses. Sounds like it's time for me to build a
tcf to do this.

-Original Message-
From: Matt Muro [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 5:14 PM
To: witango-talk@witango.com
Cc: witango-talk@witango.com
Subject: Re: Witango-Talk: Array processing


Just a thought as I run out the door here (I haven't tried this) ...

What about using @UNION to combine the arrays and then performing
@DISTINCT on the combined array to have only the DISTINCT elements
returned.



witango-talk@witango.com on Thursday, February 16, 2006 at 5:03 PM -0500
wrote:
   Not at all. Assume I have array 1 with the following rows:

1
2
3
4
5

And I have Array 2 with the following rows:

2
3
5
6
7

I'd like to have some kind of function that would tell me all of the
elements of these two arrays that do not appear in BOTH arrays, those
being 1,4,6,7. Does that help?

-Original Message-
From: Scott Cadillac [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 4:59 PM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: Array processing


Hi Gene,

 I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays.

I don't get it. Is this a trick question?


Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 


  

 -Original Message-
 From: Wolf, Gene [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 16, 2006 2:42 PM
 To: witango-talk@witango.com
 Subject: Witango-Talk: Array processing
 
 I've seen a number of the array processing commands like 
 @intersect, @Union, etc. but I need something that compares 
 two arrays and returns to me those rows that do not exist in 
 BOTH arrays. Is there anything like the equivalent of 
 [EMAIL PROTECTED] *laughs* 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
 



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf






Matt Muro  [EMAIL PROTECTED]
Harvard University   phone:  617.998.8522
Division of Continuing Education   fax:  617.495.9176


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: [OT] Just too funny

2006-02-16 Thread Christian Platt

Yess, too funny is called crazy.

Or do you thik Merceds Benz will put Chrysler Motors in their Cars?


Christian

Am 16.02.2006 um 21:39 schrieb Scott Cadillac:



Who knows if it's true, but the possibilities, eh?

http://apple.slashdot.org/apple/06/02/16/1826257.shtml

Like I said, just too funny.

Scott Cadillac,
Email: [EMAIL PROTECTED]
http://scott.cadillac.bz


__ 
__

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


RE: Witango-Talk: [OT] Just too funny

2006-02-16 Thread Ben Johansen
Shouldn't that be a Chrysler with a Mercedes Benz Motor =)

Ben

-Original Message-
From: Christian Platt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 8:59 PM
To: witango-talk@witango.com
Subject: Re: Witango-Talk: [OT] Just too funny

Yess, too funny is called crazy.

Or do you thik Merceds Benz will put Chrysler Motors in their Cars?


Christian

Am 16.02.2006 um 21:39 schrieb Scott Cadillac:


 Who knows if it's true, but the possibilities, eh?

 http://apple.slashdot.org/apple/06/02/16/1826257.shtml

 Like I said, just too funny.

 Scott Cadillac,
 Email: [EMAIL PROTECTED]
 http://scott.cadillac.bz


 __ 
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf