MENCHOIX |
"Menchoix" identifies the current function by its internal number.
Shortint [S]Menchoix
# Extracted
from the MENU supervisor process:
# Selection of a function
Global Onevent ITM_MENU Call MENU From EXEFNC
actihgup(1) = "END": # Disconnection Process
Men =GMENDEP
Goto FIN
# Extracted
from the EXEFNC supervisor process:
# Running of a function
Local Integer NUMFONC
NUMFONC = menchoix
If clalev([F:AFC])=0: Local File AFONCTION [AFC]: Endif
Read [AFC]NUMFNC = NUMFONC
"Menchoix" identifies the current function by its internal number. This variable is only used by the supervisor.
Whenever you exit menu management via the ONevent ITM_MENU instruction, the menchoix variable is loaded by the function selected.
|
Error |
Description |
|
|
|
|
|