[FR] [EN]Re: Getting the type code of a file under OSX
Alex Tweedly
alex at tweedly.net
Sat Jul 30 11:44:43 EDT 2005
Eric Chatonet wrote:
> Hi Dom,
>
> Tu peux faire les deux mais ce n'est pas la mme chose.
> You can do both but it's not the same.
>
> Quand les variables sont dclares en tte du script, leurs valeurs
> sont alors accessibles par toutes les procdures du script.
> When variables are declared outside the handlers their values are
> available to all handlers in the script.
>
> Quand elles sont dclares l'intrieur d'une procdure, leur valeur
> n'existe que pour la procdure considre.
Quand possible, c'est prfrable.
> 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
More information about the use-livecode
mailing list