MENCHOIX

Contents


"Menchoix" identifies the current function by its internal number.

 

Class, Type, and Dimension

Shortint [S]Menchoix

 

Examples

# 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

Description and Comments

"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.

 

Associated Errors

Error

Description

 

 

 

Associated Keywords

Men  -  Onevent


Contents


Copyright © Sage 1999 - 2007