Right Alex!
Very comprehensive French and Transcript :-)
Le 30 juil. 05 à 17:44, Alex Tweedly a écrit :
Eric Chatonet wrote:
Hi Dom,
Tu peux faire les deux mais ce n'est pas la même chose.
You can do both but it's not the same.
Quand les variables sont déclarées en tête du script, leurs
valeurs sont alors accessibles par toutes les procédures du script.
When variables are declared outside the handlers their values are
available to all handlers in the script.
Quand elles sont déclarées à l'intérieur d'une procédure, leur
valeur n'existe que pour la procédure considérée.
Quand possible, c'est préférable.
When they are declared inside a handler, their values are only
available for this handler.
And so, IMHO, it is better to declare them inside unless you
explicitly want, and need, to share them - more safety from
possible mistakes.
(Sorry about the terse French translation - the fewer words you
use, the fewer chances of mistakes :-)
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date:
27/07/2005
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution