•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileMENU_TEXT(tree,item,new_text$)

tree, item: iexp
new_text$: sexp

Changes the text of a menu item. This functions permits the adapting of menu
entries while a program is running.

Returns 0 if an error occured.

    tree      - Address of menu object tree.
    item      - Object number of the item to be modified.
    new_text$ - A string containing the new menu item (may not exceed the
                length of the old one).

Memo: This command copies the characters of new_text$ into the object tree
      structure. Effectively overwriting the old string data. Care must be
      taken not to exceed the length of the old string buffer.

Memo: Fails in the editor, but works compiled.

menu_text()+