On 5/7/06 16:55, Robert Sneidar wrote:
What would have helped is if the offset function had some way to reverse directions, like an arguement that made offset work end to beginning. Foxpro has 2 functions that are similar, AT() and RAT(). The R is for reverse obviously, and the number is for occurances not characters to skip. Oh well. Maybe we need an roffset() function. :-)
While Bob's specific need was in fact met by setting the item delimiter and using "last", I concur with his call for a general method for seeking in reverse. It's not that it's hard to code, but it would be trivial* to implement it directly in the engine, and that would be very much faster than the transcript version.
There's a proposal in bugzilla for this: http://support.runrev.com/bugdatabase/show_bug.cgi?id=584 Please consider tossing it some votes... *trivial: usual caveats apply Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
