‼
To give you the best experience, this site uses cookies. Continuing to use
9bis.net
means you agree to our use of cookies.
Variables_syntax
(
fr )
Dernière modification : 2013/01/26 19:17
Index
/
Changements récents
/
Informations
/
Forum
/
Télécharger
/
Contact
Éditer (
Aide
) /
Renommer
/
Historique
All variables in MSH.EXE are : * globals: There are stored into the [global environment|?page=env] * strings characters: conversions into scalar types are automatically made on demand A variable names can contains alphanumeric characters ('''A-Z''','''a-z''','''0-9''') and the underscore characters ('''_'''). Here are valid names: A, Abc, Z123, A_r2. It is possible to define arrays. Each item of an array appears separately in the [environment|?page=env]. {msh> set A{[}1{]}="1" ; set A{[}2{]}="2" msh> print ${{}A{[}1{]}{}} ${{}A{[}2{]}{}} 1 2} Variable names are also case sensitives: {msh> A=MAJOR msh> a=minor msh> print $A MAJOR}To get the content of a variable, just add the dollar character ('''$''') before its name.
Mot de passe :
Wiki utilisant
PumaWiki 1.0
2025/05/09 20:05 -- fr -- 13.58.36.197