# procedure without return value
proc doThis() =
discard
#procedure returns value
proc UltimateAnswerOfLifeTheUniverseAndEverything(): int =
result = 42
echo UltimateAnswerOfLifeTheUniverseAndEverything()
- Indentation causes compiler errors jzakiya
- Re: Indentation causes compiler errors Parashurama
- Re: Indentation causes compiler errors jzakiya
- Re: Indentation causes compiler errors bpr
- Re: Indentation causes compiler errors sky_khan
- Re: Indentation causes compiler errors mashingan
- Re: Indentation causes compiler err... coffeepot
