Hello world/Text: Difference between revisions
Content added Content deleted
imported>Fultonm m (IBM Z HL/ASM 'Hello World') |
|||
Line 4,931:
<syntaxhighlight lang="yaml">
!yamlscript/v0
(println "Hello world!")
</syntaxhighlight>
<syntaxhighlight lang="yaml">
!yamlscript/v0
(say "Hello world!")
</syntaxhighlight>
<syntaxhighlight lang="yaml">
!yamlscript/v0
say("Hello world!")
</syntaxhighlight>
<syntaxhighlight lang="yaml">
!yamlscript/v0
say
</syntaxhighlight>
<syntaxhighlight lang="yaml">
!yamlscript/v0
say:
</syntaxhighlight>
<syntaxhighlight lang="yaml">
!yamlscript/v0
say
</syntaxhighlight>
<syntaxhighlight lang="yaml">
!yamlscript/v0
# The . at the start of a value is way to indicate that the value is a scalar (string).
# Without the . this would be invalid YAML(Script).
|