The V Programming Language

Simple, fast, safe language created for developing Volt, soon available for everyone.

Open source release in June 2019. Early access since April 15.
Install V from source in 0.5 seconds
wget && gcc -o v v.c

Multiple return values?

Apr 15 · 3 min read
zuwa Jul 4 19:56
I've just discovered V and looking it over. Is it possible for function to return multiple values? I know I can use a struct or array but is that it?
Fascinating language. Kudos to the author
medvednikov Jul 4 21:24


Multiple return values will be implemented this month.
medvednikov Jul 4 21:25
Please note, that in Go, for example, in 80-90% of the cases you'd use multiple return values for handling errors. V uses optionals for that.
Log in via GitHub to comment

Powered by vtalk, open-source blogging/forum software written in V