summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-01-05 02:39:50 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-01-05 02:39:50 +0100
commit23d8224704b76737e746c5add47aa4cd96a7fd01 (patch)
tree19ee7e6f1549f2d08b551f011b65b9e50360dace /content/fate_v1/computations/addresses
parent8746de42d1fa1a71e7cca9353cb547cc12104f55 (diff)
Improves how topics collapse on the menu.
Diffstat (limited to 'content/fate_v1/computations/addresses')
-rw-r--r--content/fate_v1/computations/addresses/_index.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/fate_v1/computations/addresses/_index.md b/content/fate_v1/computations/addresses/_index.md
new file mode 100644
index 0000000..aafd0f1
--- /dev/null
+++ b/content/fate_v1/computations/addresses/_index.md
@@ -0,0 +1,18 @@
+---
+title: Addresses
+---
+### VALUE ACCESS
+{{< fatecode >}}(at [ADDRESS]){{< /fatecode >}}
+
+Returns the variable at `[ADDRESS]`.
+
+### ALLOCATION
+{{< fatecode >}}(new [TYPE]){{< /fatecode >}}
+
+Returns the address of a new variable of type `[TYPE]`. Don't forget to call
+`free` on it once you're done.
+
+### ADDRESS
+{{< fatecode >}}(ptr [COMPUTATION VARIABLE]){{< /fatecode >}}
+
+Returns the address of `[COMPUTATION VARIABLE]`.