Menu

MENU reserved word

2025-09-14
2025-09-14
  • Eugenio Di Lorenzo

    I noticed that the word "MENU" is listed in the PG as a reserved word.
    In the PG manual, it also appears as a reserved word already implemented.
    In fact, if I use it in a program, for example, as a variable name, it generates an error.
    However, I can't find any documentation on its use.
    Can anyone provide any information on this?

     
  • Ralph Linkletter

    MENU appears to be an ACUCOBOL reserved word.
    "MENU" ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ACU
    Not in IBM, Not in MF, Not in Fuji, not in iCOBOL
    What its purpose is in Acu i have no idea :-)

     
  • Simon Sobisch

    Simon Sobisch - 2025-09-14

    Yes, that's from ACUCOBOL and you can either make it "usable" by undefining it -fnot-reserved=MENU or by using any strict std. It is implemented in USAGE HANDLE OF FONT and those variables may be parsed and checked in other places ( which would be DISPLAY ... POP-UP MENU IS handle); but we don't support it at runtime yet.

    Patches welcome :-)

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.