FUNCTIONUnder review
FunDesc
FunDesc() --> cRetReads the menu-option context.
Overview
The historical manual describes FunDesc as the selected menu option description rather than necessarily the helper executing in the stack. Results depend on menu context. (Sources: refs. 1–1.)
Syntax
FunDesc() --> cRetReturn value
Text for the documented context.
Commented example
#Include "Protheus.ch"
User Function Ed406()
// Run from the test menu without changing context.
ConOut(FunDesc())
Return NilExpected result
Menu-dependent text; no fixed result outside that context. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Separate routine identification, description and authentication.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.