Tutorial's main method with String[] params? ANONYMOUS Created June 17, 2005 21:07 How to finalize the main method with String[] parameters? Are array not yet supported?TomPS: Playing with MPS makes fun!
Thomas Singer wrote:
>
To type ArrayType you have to place cursor at method parameter list and
press control+enter. New parameter will appear. In completion menu under
parameter type you can select array type. [<type][] will appera. In
completion menu you can select string.
There seem not to be an ArrayType in my code completion pop-up (see attached
screenshot). Just curious, what means "parm"? What is a Appendable? Where
have I defined, that HelloWorld can be passed as a parameter to main()? Why
can I pass a Package?
Tom
Attachment(s):
parameters.png
Thomas Singer wrote:
>> To type ArrayType you have to place cursor at method parameter list
>> and press control+enter. New parameter will appear. In completion menu
>> under parameter type you can select array type. [<type][] will appera.
>> In completion menu you can select string.
At the same screenshot position as on screenshot hide popup menu by
pressing escape and press control+enter. You will got see something like
on screenshot.
Attachment(s):
2.png
1.png