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.
How to clear all cache or history within a loop
-
My script is like that:
Initialise
Set Variable No-of-Cycle
For 1:No-of-Cycle
Call Function 1
Set Variable No-of-Times
For 1:No-of-Times
Call Function 2
Call Function 3
Increase Variable 1->No-of-Times
Sleep 30 minutes
Increase Variable 1->No-of-Cycles
Sleep 30 minutesDuring running of the cycle/times, how to clear cache?
-
@hifive said in How to clear all cache or history within a loop:
My script is like that:
Initialise
Set Variable No-of-Cycle
For 1:No-of-Cycle
Call Function 1
Set Variable No-of-Times
For 1:No-of-Times
Call Function 2
Call Function 3
Increase Variable 1->No-of-Times
Sleep 30 minutes
Increase Variable 1->No-of-Cycles
Sleep 30 minutesDuring running of the cycle/times, how to clear cache?
