Setting a variable ( fr )Dernière modification : 2013/01/26 19:17 |
|
---|---|
Index / Changements récents / Informations / Forum / Télécharger / Contact | Éditer |
To set a variable the syntax is: set name = value.
In MSH.EXE all variables are global (available everywhere in the script). There is no type: all variables are string typed. Conversions are made automatically depending on the calling function (see expr). The set internal command can be forgotten. These commands are both valid: If the variable name does not exists the variable is created, and it is updated otherwise.
|
|
Wiki utilisant PumaWiki 1.0
2024/12/22 02:31 -- fr -- 3.144.4.50 |