• Hi,

    • set() and get() are 'sync'
    • but call() just puts the given commands into a queue and execution of the commands in this queue is 'async' and depends on the other currently running commands

    That means in your case the trace calls are executed when the value of 'g' already has the value 200.

    Best regards,
    Klaus

  • Hi,
    set() and get() are 'sync'but call() just puts the given commands into a queue and execution of the commands in this queue is 'async' and depends on the other currently running commands
    That means in your case the trace calls are executed when the value of 'g' already has the value 200.


    Thx for replying.

    I got it,

    that's why the variable "gx" always return the same value.

    But how can i do to get a different value?

    Edited once, last by boxui (September 4, 2014 at 11:39 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!