Store output from each loop and print in CSV

I’m extract a value from web scrapping by running a loop over multiple variables. How do I store that extracted value in an array and then print to CSV? Can anyone please help?

You must use csvsave command

here info:
https://ui.vision/rpa/docs/selenium-ide/csvsave