• 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?

    Einmal editiert, zuletzt von boxui (4. September 2014 um 11:39)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!