Menu

Last Global Node

Help
Enzo
2007-03-02
2012-12-29
  • Enzo

    Enzo - 2007-03-02

    Hello,

    How I can obtain the last node of a global, like a $ZORDER function
    with the -1 direction, with $QUERY?

    Perhaps the only solution is to make a FOR LOOP with $ORDER (-1) and
    test if the next subscript exists ...

    Thanks in advance,

    Enzo

     
    • Narayanan Iyer

      Narayanan Iyer - 2007-03-02

      Hi Enzo,

      There is no $ZQUERY equivalent. I would do the same for loop as you suggest.

      Thanks,
      Narayanan.

       
    • Enzo

      Enzo - 2007-03-03

      Hi Narayanan,

      Is there any wishlist, for a $QUERY,-1 ?  ;-)
      Making a loop with $ORDER, but with a variable
      number of indexes, could be a knightmare ...

      Thanks again and best regards,

      Enzo Toscano

       
      • K.S. Bhaskar

        K.S. Bhaskar - 2007-03-07

        Thanks for the suggestion Enzo.  We'll add it to our list of suggested enhancements, and see if we can work it in sometime.

        In the free / open source world, any funding, or, alternatively, actually doing the enhancement, would help.

        Regards
        -- Bhaskar

         

Log in to post a comment.