Function prototype: Difference between revisions

Content added Content deleted
(Add Nimrod)
Line 422: Line 422:
discard optargs(5)
discard optargs(5)


# Procedure definitions
# Actual implementations
proc noargs(): int = echo "noargs"
proc noargs(): int = echo "noargs"
proc twoargs(a, b: int): int = echo "twoargs"
proc twoargs(a, b: int): int = echo "twoargs"