Artefact:Template/org/oogenerator/examples/tutorial/Example0050 DefaultValue
From OOModels
< Artefact:Template | org | oogenerator | examples | tutorial
Jump to navigationJump to search
Revision as of 16:04, 17 July 2008 by AndreasLeue (talk | contribs) (Artefact:Template/org/oogenerator/examples/Example0050 DefaultValue moved to Artefact:Template/org/oogenerator/examples/tutorial/Example0050 DefaultValue)
Classification | |
---|---|
Type | Type:org/oogenerator/Template/2.0 |
Domain | Domain:it/development/formatting |
Category | Type:org/oomodels/wiki/Template |
Maturity | final |
More | |
Download Code | |
Namespace (more) | |
OOGenerator main package | |
create new pages |
Code[edit]
G-2.0-plain_java-1.0 ⊰ This templates allows to greet arbitrary planets, but by default the world. It demonstrates the use of default values for template arguments. If invoked without an argument, it prints "Hello, world!". ⊱ ⊏ signature(String my_arg = "world") ⊐ Hello, ◂my_arg▸!