Warming up (total value from 1 to 10)
This one is also pretty basic, I think, because it uses loops.
This is how it looks in VBA.
Post execution
So what about the AA360?
Create a BOT in the same location as before.
The name of this BOT is addition.
Since we are doing 10 additions this time, we need a variable to add each time.
In the above VBA example, this would be a definition statement starting with DIM.
AA360 allows you to define a variable section, an action section, and a trigger section.
For now, the easy-to-understand SampleNumber and Samplestring have already been created in the "Variables I created". I will use these. Also, I will create an additional variable #sum (a numeric variable).
*Variables will be introduced later.
This time we will need the Samplenumber variable, a loop action, an increment action, and an action to display a message box.
But when I created it...
Whaaat!!! What does "expression is invalid" mean???
Annoyingly, while it supports alphanumeric, text and empty values, it doesn't seem to support numeric variables, so you'll need to move the number variable into a string variable.
This time I wrote down the correct answer briefly, but it is as follows.
I'll explain how to do this when I introduce variables.
Since the addition will be up to 10 times, set the loop count to 10.
In this case, the number of times each time is assigned to #sum.
The result of adding $sum$ (#sum) and $samplenumber$ (#sumplenumber)
Assign to $samplenumber$ (#sumplenumber).
If you run this.
I would like the message box to support numeric variables as well.











Comments