FWGetMnuFile
FWGetMnuFile()Reads menu identification observed in a public example.
Overview
CHKEXEC.PRW in thalysjuvenal/LOG_DE_ACESSO calls FWGetMnuFile with no arguments and applies AllTrim before writing ZZL_XNU. This shows observed menu-text usage rather than a universal format or validity outside that context. The original writes an owned table and collects environment data; this adaptation removes those operations and only wraps the lookup. The official Diversos index supplied no specific contract during this research. (Sources: refs. 1–2.)
Syntax
FWGetMnuFile()Return value
Treated as text by the example; complete contract pending.
Commented example
#Include "Protheus.ch"
User Function Ed427()
// Editorial adaptation: no ZZL writes or personal-data collection.
Local bMenu := {|| FWGetMnuFile()}
Return NilPrepared block; concrete output depends on menu context. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Check context and return before integration; the example does not replace a complete routine.
- 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.