Duplicate simultaneous calls to same handler

Mark Wieder mwieder at ahsoftware.net
Fri Jan 23 00:58:41 EST 2015


>> If so, what happens to the values of the variables?

> Google idempotent.

Oh, all right.
Each invocation of a function gets its own set of local variables.
Script local variables are in a shared common pool. Changing them from
within a function is commonly referred to as a side effect.

If you use globals... don't use globals.

-Mark Wieder
 ahsoftware at gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.

More information about the Use-livecode mailing list