FindValueAsArraySet ordering

Ed Kleban Ed at Kleban.com
Thu Dec 15 22:10:21 CST 2005


Hi Ruslan,

I know we've talked about FindLinked, but I don't recall if I've asked about
FindValueAsArraySet with an inSet argument.  If so I can't find the answer
in my email history.


If I call FindValueAsArraySet with an inSet argument, what is the order of
the elements in the result?

Examples seem to work best for us in these discussions:

    matchValue = 69
    checkSet = VArraySet with: { 5, 1, 4, 3 }
    someField has values:

    Rid     someField
    1       69
    2       69
    3       69
    4       69
    5       21
 
    resultVArraySet = someField.FindValueAsArraySet( matchValue, checkSet )

    
Does resultVArraySet = { 1, 4, 3 }

or 

Does resultVArraySet = { 1, 3, 4 }


Thanks!
--Ed




More information about the Valentina mailing list