Skip to content

Commit c2a00bf

Browse files
committed
docs
1 parent 841fd5d commit c2a00bf

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

doc/oper.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ user.MyNameSpace::MyFunc
8989
```
9090

9191
### Operator: `.`
92-
- Code block access operator.
92+
- Object access operator.
9393

9494
```cpp
9595
console.println.log("Hi!")
@@ -129,6 +129,27 @@ MyTag<-new[int]myvar=1
129129
new[int]myvar=1
130130
```
131131

132+
### Operator: `=>`
133+
- Memory copy operator used to create entities or objects from virtual blueprints.
134+
135+
```cpp
136+
int myBluePrint() virtual
137+
{
138+
//foo
139+
return int 4
140+
}
141+
142+
//class
143+
class MyFuncs
144+
{
145+
private myFunc=>myBluePrint
146+
}
147+
148+
object MyObj=MyFuncs
149+
// This will do foo and return 4:
150+
MyFuncs.myFunc()
151+
```
152+
132153
### Operator: `|`
133154
134155
- Bitwise OR.

0 commit comments

Comments
 (0)