Skip to content

Instantly share code, notes, and snippets.

@sergiosouzalima
Last active November 30, 2022 12:18
Show Gist options
  • Save sergiosouzalima/32e147188f162146c48a74250f306f83 to your computer and use it in GitHub Desktop.
Save sergiosouzalima/32e147188f162146c48a74250f306f83 to your computer and use it in GitHub Desktop.
result é uma variável declarada implicitamente
# result é uma variável
# declarada implicitamente
proc dizOla(nome: string): string =
result = "Olá, "
if nome == "":
result = "Qual é seu nome mesmo?"
else:
result &= nome
@sergiosouzalima
Copy link
Author

nim_logo2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment