committed by
GitHub
parent
fa7b5ed1dd
commit
52b6e2c03b
@@ -90,6 +90,8 @@ See the [`examples/add`](examples/add) directory for the complete working exampl
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
See [`examples`](examples) for the full suite of examples.
|
||||||
|
|
||||||
### Slice Sum
|
### Slice Sum
|
||||||
|
|
||||||
Sum a slice of `uint64`s:
|
Sum a slice of `uint64`s:
|
||||||
@@ -151,7 +153,7 @@ Component accesses can be arbitrarily nested:
|
|||||||
b2 := Load(Param("s").Field("Array").Index(2).Field("B").Index(2), GP8v())
|
b2 := Load(Param("s").Field("Array").Index(2).Field("B").Index(2), GP8v())
|
||||||
```
|
```
|
||||||
|
|
||||||
Very similar techniques apply to writing return values. See [`examples/args`](examples/args) and [`examples/returns`](examples/returns) for the full suite of examples.
|
Very similar techniques apply to writing return values. See [`examples/args`](examples/args) and [`examples/returns`](examples/returns) for more.
|
||||||
|
|
||||||
### Real Examples
|
### Real Examples
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user