item. The method is static. It defines and initializes the object. Notice that new()should never accept any parameters. The main method receives one formal
parameter that is an args() object. This object is described further.
The main() method is also responsible for calling prompt(), which executes the
dialog, and then calling run() to perform the manipulation.
1 2 3 4 5 6 7 8 9 | static void main(Args _args) { DemoRunBase demoRunBase; demoRunBase = new DemoRunBase(); if (demoRunBase.prompt()) { demoRunBase.run(); } } |
With a main() method in place, a RunBase class can now be called from a menu
item in the AOT.
Best Regards,
Hossein Karimi
No comments:
Post a Comment