Bonjour Yves,

> Hi,
>
> I'd like someone help me writing a fsat function :

I will ;-)

> I have a liste of lines (big list !)
> The number of lines of the list is variable
> I'd like that the list appears in the reverse orde so that
>
> line 1 -> last line
> ...
> ...
> last line -> line 1
>
> something like :
>
> function reverseLines tList
>    return tresult
> end reverseLines
> -- Greetings.
>
> Yves COPPE

try this:

function reverseLines tList
   repeat for each line l in tList
     put l & CR before reverseLines
   end repeat
   delete char -1 of reverseLines
   return reverseLines
end reverseLines

Have fun...


Regards

Klaus Major
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to