Data Search

Using the combination in a while loop of SetDataSearch, GetNextSym and GetDataVal - searching a single user.sys file for Persistent robtarget symbols only - works fine but there is no order - they are random named and order in the file - the search to returns them random too - is this the nature of the beast? - be nice if routines could order them somehow?

Comments

  • Micky
    Micky Germany ✭✭✭
    Hello,
    for the instruction "SetDataSearch" there is no way to get the data sorted as far as I know.
    If you store the found variable names in an array, you could implement your own sorting function (bubble sort, quick sort, etc.) after the search, which sorts the variable names.

    Depending on the number of variables found, the sorting will of course take a certain amount of time.