Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/12/2004, 07:31
Motki
 
Fecha de Ingreso: septiembre-2003
Mensajes: 341
Antigüedad: 21 años, 7 meses
Puntos: 0
hola otra vez,
he encontrado como sacar aquellos que son iguales, pero yo necesito los diferentes....
os dejo el codigo por si alguien me puede ayudar....


Código:
 

dim aryArray3
valor3=""
FOR i = LBound(aryArray1) to UBound(aryArray1)
 f=0
 FOR j = LBound(aryArray2) to UBound(aryArray2)
  IF CStr(aryArray1(i)) = CStr(aryArray2(j)) THEN
   'response.write vartype (aryArray2(j))&"<br>"
   aryArray3 = Filter(aryArray1,aryArray2(j),TRUE,VBTextCompare)
   valor3 = valor3&"##"&aryArray3(0)
   'aryArray3 = Filter(aryArray1,"1",true,1)
  END IF
 NEXT
 f =f+1
NEXT
__________________
---Nuestra recompensa se encuentra en el esfuerzo y no en el resultado. Un esfuerzo total es una victoria completa.-- GHANDI