Tutorial's main method with String[] params?

How to finalize the main method with String[] parameters? Are array not yet

supported?

Tom

PS: Playing with MPS makes fun!

0
3 comments

Thomas Singer wrote:

How to finalize the main method with String[] parameters? Are array not

yet supported?

Tom

PS: Playing with MPS makes fun!

>

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.

0

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
0

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
0

Please sign in to leave a comment.