关键字

V是一种非常小巧的语言,所以它很少有关键字。大约有25个关键字。

Keywords

in

V

Programming

Language

break

const

as

continue

defer

else

enum

fn

for

struct

go

goto

if

import

return

type

pub

mut

in

interface

match

module

or

none

与其他语言一样,它们不能用作变量。

Last updated

Was this helpful?