613-518-1166 info@zimdatabases.com

ZIM Language Reference

MENU DEFINE

< All Topics

Invokes Zim IDE to edit a menu.

Syntax

MENU DEFINE menuname [[IN] dirname]

Parameters

menuname

The name of a new or existing menu.

dirname

The name of the application directory in which the specified menu can exist. If the menu does not exist in the provided application directory, it will be created there.

If omitted:

the menu will be selected from the first application directory in which it exists.

if the menu does not exist, it will be created in the ZIM application directory.

Examples

Invokes Zim IDE to edit the menu mAddEmps:

 

menu define mAddEmps

If mAddEmps does not exist in any application directory, it will be created in the ZIM application directory.

Otherwise, it will be selected from the first application directory in which it exists.

 

menu define mAddEmps ZIM

If mAddEmps does not exist in the ZIM application directory, it will be created there.

It will be selected from the ZIM application directory only if it exists there.

 

menu define mAddEmps EMPS

If mAddEmps does not exist in the EMPS application directory, it will be created there.

It will be selected from the EMPS application directory only if it exists there.

 

Related topics

DISPLAY DEFINE

FORM DEFINE

WINDOW DEFINE

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents