Skip to content

Instantly share code, notes, and snippets.

@fowlmouth
Created June 25, 2013 16:28
Show Gist options
  • Select an option

  • Save fowlmouth/5859948 to your computer and use it in GitHub Desktop.

Select an option

Save fowlmouth/5859948 to your computer and use it in GitHub Desktop.
proc foo(): int =
return(if true: 1
else: 0 )
echo foo()
proc zoo : int =
raise newException(E_IO, "foo")
proc foo (): int =
return(try: zoo()
except: 1)
echo foo()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment