Do

DoLang

View the Project on GitHub Programming-Language/Do

Function

A: pre-2020-06-X

Define

Preview

WithoutParam ->
  do
    + 5 20
  return
WithParam ->
  param
    One<String> 5..600
    Two<Integer> 10..?
  do
    One, + Two 10
  return
end

Use

Preview

print call WithoutParam

Output: 25

print call 'Hello' 13 WithParam

Output: Hello 23