Hello world/Text: Difference between revisions
Content added Content deleted
Jmarkmurphy (talk | contribs) |
|||
Line 4,972: | Line 4,972: | ||
<syntaxhighlight lang="yaml"> |
<syntaxhighlight lang="yaml"> |
||
!yamlscript/v0 |
!yamlscript/v0 |
||
⚫ | |||
</syntaxhighlight> |
|||
⚫ | |||
<syntaxhighlight lang="yaml"> |
|||
!yamlscript/v0 |
|||
⚫ | |||
</syntaxhighlight> |
|||
=>: (say "Hello, world!") |
|||
<syntaxhighlight lang="yaml"> |
|||
!yamlscript/v0 |
|||
⚫ | |||
</syntaxhighlight> |
|||
⚫ | |||
<syntaxhighlight lang="yaml"> |
|||
!yamlscript/v0 |
|||
⚫ | |||
</syntaxhighlight> |
|||
<syntaxhighlight lang="yaml"> |
|||
!yamlscript/v0 |
|||
say: |
say: |
||
=>: "Hello world!" |
=>: "Hello, world!" |
||
</syntaxhighlight> |
|||
⚫ | |||
⚫ | |||
<syntaxhighlight lang="yaml"> |
|||
!yamlscript/v0 |
|||
say "Hello": "world!" |
say "Hello": "world!" |
||
</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). |
|||
⚫ | |||
</syntaxhighlight> |
</syntaxhighlight> |
||