On Mon, Nov 30, 2009 at 8:21 PM, Abhishek Banginwar
<
abhishek....@gmail.com> wrote:
> yes. it changes everytime. that is why i am having issues.
>
> i know {param]_count is generated when i use ord=all, my question was how to
> get the last one not the first one.
>
Easy.
Say you've saved "param_1" through "param_15".
Then you just write:
lr_eval_string(lr_eval_string("{param_{param_count}}"));
Tadaa ;-)
It's a bit of a dirty trick but it works.
Nowadays I usually use my own functions though. This would be roughly:
y_array_get("param", y_array_count("param"));
Regards,
Floris
---
'What does it mean to say that one is 48% slower? That's like saying
that a squirrel is 48% juicier than an orange - maybe it's true, but
anybody who puts the two in a blender to compare them is kind of
sick.'
--- Linus Torvalds