Question: For loop reverse

Hi all, I want to ask how to use for loop reverse in Maple.

Example, i have array arr = [a^2, b^2, c^2, ab, bc, ca]. In Java then

for(int i = arr.size(); i > 0; i--) {

    //do something


What is simillar for loop in Maple?

Thank you very much.

Please Wait...