mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: add as
and is
keywords
This commit is contained in:
parent
5b98cde811
commit
b17ed79773
@ -1891,7 +1891,7 @@ TODO: translating C to V will be available in V 0.3. C++ to V will be available
|
|||||||
V can translate your C/C++ code to human readable V code.
|
V can translate your C/C++ code to human readable V code.
|
||||||
Let's create a simple program `test.cpp` first:
|
Let's create a simple program `test.cpp` first:
|
||||||
|
|
||||||
```v
|
```cpp
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@ -2069,6 +2069,7 @@ fn C.WinFunction()
|
|||||||
V has 23 keywords:
|
V has 23 keywords:
|
||||||
|
|
||||||
```v
|
```v
|
||||||
|
as
|
||||||
break
|
break
|
||||||
const
|
const
|
||||||
continue
|
continue
|
||||||
@ -2083,6 +2084,7 @@ if
|
|||||||
import
|
import
|
||||||
in
|
in
|
||||||
interface
|
interface
|
||||||
|
is
|
||||||
match
|
match
|
||||||
module
|
module
|
||||||
none
|
none
|
||||||
|
Loading…
Reference in New Issue
Block a user