Menu

Reverse $Query

Help
2012-12-23
2012-12-29
  • Enzo Toscano

    Enzo Toscano - 2012-12-23

    Hi,

    it's possible to scan an array with $Query in reverse order?

    Thanks in advance,
    Enzo

     
  • Bob Isch

    Bob Isch - 2012-12-24

    Sorry Enzo - I don't think so.  You could probably write a $$ReverseQuery(ref) function, but I suspect it was left out of the standard because not all implementations kept the back-links necessary to assure efficiency.
    -bob

     
  • K.S. Bhaskar

    K.S. Bhaskar - 2012-12-25

    Enzo, GT.M does not implement a reverse $Query() function - it was not in the standard, and there never was enough demand to implement it.

    Regards
    - Bhaskar

     
  • Enzo Toscano

    Enzo Toscano - 2012-12-25

    Thank you, Rob and Bhaskar … I should to implement my own function to do this.

     

Log in to post a comment.