Nom de la fonction
Control local time
Control exist
Easy XML
Manuel de programmation, 10/2020, 6FC5397-1DP40-6DA4
Signification
La fonction copie l'heure locale dans un tableau avec 7 éléments de
tableau.
Le nom de la variable est attendu en tant que paramètre d'appel.
Ce qui suit est enregistré dans l'élément de tableau :
•
Indice 0 - Année
•
Indice 1 - Mois
•
Indice 2 - Jour de semaine
•
Indice 3 - Jour
•
Indice 4 - Heure
•
Indice 5 - Minute
•
Indice 6 - Seconde
Syntaxe :
<function name ="control.localtime">_T"time_array"
</function>
Exemple :
<!-- index
0 = Year
1 = Month
2 = Day of week
3 = Day
4 = Hour
5 = Minute
6 = Second
-->
<let name="time_array" dim="7" />
<function name ="control.localtime">_T"time_array"
</function>
La fonction fournit 1 comme valeur de retour si l'élément de commande
spécifié existe.
Syntaxe :
<function name="CONTROL.EXIST" return="<return
variable>"><control name></function>
Exemple :
<let name="ret" /> <function name="CONTROL.EXIST"
return="ret">_T"edit"</function>
Création de boîtes de dialogue utilisateur
2.11 Fonctions prédéfinies
157