Question about scripts

Rumburak shared this question 1 year ago
Answered

We assume the following scenario:

1 Command1

2 Command2

3

4 RunClickScript(obj1)

5 command5


Question:


Command5 is executed after completing all the commands in the obj1 or is executed in parallel?

Comments (4)

photo
1

If I understand correctly what you mean, the lines in your scripting are executed in the order you wrote them.

Not sure about the RunClickScript,tho.

photo
1

I notice that both are running. But I do not understand if it runs simultaneously or run RunClickScript (B) first and after it completes the script from A.

For me it is important if command5 awaits the completion of all commands in RunClickScript (obj1)

photo
photo
1

It's executed after

photo
1

Command5 is executed after the last command from ClickScript on obj1 ?

photo
© 2019 International GeoGebra Institute