General information
Category:
Coding, syntax & commands
Muchísimas gracias (Thanks a lot)
Regards
Oscar
>>I have the next array:
>>
>>Dimension arreglo(2,2)
>>Arreglo(1,1) = "UNO"
>>Arreglo(1,2) = 1
>>
>>Arreglo(2,1) = "DOS"
>>Arreglo(2,2) = 2
>>
>>
>>I’d like to sort the array upon de second column descending expecting the next result:
>>Arreglo(1,1) = "DOS"
>>Arreglo(1,2) = 2
>>
>>Arreglo(2,1) = "UNO"
>>Arreglo(2,2) = 3
>>
>>
>>I’ve tried several ways according to VFP help without success.
>>
>>I’ll appreciate any hints.
>>
>>Thanks in advance.
>>
>>Oscar Corte
>
>asort(arreglo,2,-1,1)
>Cetin
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only