|
|
|
|
|
The return value of the process currently run can be assigned. The return value is stored and the process continues to run PROCEDURE ChercheFichier(ValeurRecherche)
RETURN = ""
HOpen(UnFichier)
HReadSeek(UnFichier, RubriqueRecherche, ValeurRecherche)
IF HFound() = True THEN
RETURN = UnFichier.Rubrique
END
HClose(UnFichier)
Sintaxis <Value>: Value to return. Observaciones - At the end of processing, there's no need to use the RETURN keyword: the stored value is automatically returned.
- The return value can be assigned several times: the stored value always corresponds to the last value assigned.
- To read the stored value again, use the RETURN keyword:
PROCEDURE MaProcédure(): int
RETURN = 1
END:
Trace("Valeur retournée:" + RETURN)
- To exit the process before the end of the code and return the stored value, use the RETURN keyword.
- To exit the process before the end of the code and return a value different from the stored value, use the standard syntax:
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|