You can use "Result" variables that are predefined in BAS. There are 9 of them.
If you need more you can use filesystem actions and create TXT or CSV files
to store any number you need. Similar to that you can use database for such
tasks too.
@GaG
Thanks again for your help, but I finally solve the problem using a loop and a list.
Just by mistake, I found this thread: https://community.bablosoft.com/topic/11372/bulk-image-upload
And it helped!
I was searching for few days and found this only now lol.