Reload {*M}

Reloads menu file(s).

Syntax:

Reload ( )

Parameters:

(none)

Returns:

(i) always 1.

 

This function is used to reload the WIL Interpreter's menu file(s). It is useful after editing a menu file, to cause the changes to immediately take effect.

Note1: This command does not take effect until the WIL program has completed, regardless of where the command may appear in the program.

Note2: This command is not part of the WIL Interpreter package, but is documented here because it has been implemented in many of the shell or file manager-type applications which use the WIL Interpreter.

Example:

RunZoomWait("notepad.exe", "c:\win\cmdpost.cpm")
Reload( )