Last active
November 30, 2022 12:18
-
-
Save sergiosouzalima/32e147188f162146c48a74250f306f83 to your computer and use it in GitHub Desktop.
result é uma variável declarada implicitamente
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# result é uma variável | |
# declarada implicitamente | |
proc dizOla(nome: string): string = | |
result = "Olá, " | |
if nome == "": | |
result = "Qual é seu nome mesmo?" | |
else: | |
result &= nome |
Author
sergiosouzalima
commented
Nov 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment