From 23d8224704b76737e746c5add47aa4cd96a7fd01 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 5 Jan 2021 02:39:50 +0100 Subject: Improves how topics collapse on the menu. --- content/fate_v1/computations/addresses/_index.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/fate_v1/computations/addresses/_index.md (limited to 'content/fate_v1/computations/addresses') 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]`. -- cgit v1.2.3-70-g09d2