From 7272d83113545ec46b35ea440811dfc7da7634e1 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 22 Dec 2020 23:34:09 +0100 Subject: ... --- content/fate_v1/computations/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/fate_v1/computations/_index.md') diff --git a/content/fate_v1/computations/_index.md b/content/fate_v1/computations/_index.md index 1cad064..71fe6f4 100644 --- a/content/fate_v1/computations/_index.md +++ b/content/fate_v1/computations/_index.md @@ -20,7 +20,7 @@ applicable. Structure members can be accessed by using `.` in `{String}`. {{< fatecode >}}{Structure Var Name}.{Field Name}{{< /fatecode >}} {{< fatecode >}}(field [STRUCTURE VAR] {String}){{< /fatecode >}} -Accesses the `{String}` field of the structure ``. Using `.` to +Accesses the `{String}` field of the structure `[STRUCTURE VAR]`. Using `.` to access fields is recommended over the use of this operator. ### STRUCTURE FIELD VALUE @@ -33,10 +33,10 @@ Returns the value of the `{String}` field of the structure `[STRUCTURE]`. Defines a hierarchical level and local variables `V0` ... `VN` with values `C0` ... `CN`, and returns the value of `[R]`. ### CAST -{{< fatecode >}}(cast [TYPE] ){{< /fatecode >}} +{{< fatecode >}}(cast [TYPE] [COMPUTATION*]){{< /fatecode >}} -Transforms `` into a value of type `[TYPE]`. Note that the variable -shorthand cannot be used for ``. The following type changes are +Transforms `[COMPUTATION*]` into a value of type `[TYPE]`. Note that the variable +shorthand cannot be used for `[COMPUTATION*]`. The following type changes are allowed: * `[FLOAT]` to `[FLOAT]`, `[INT]`, and `[STRING]`. * `[INT]` to `[FLOAT]`, `[INT]`, and `[STRING]`. -- cgit v1.2.3-70-g09d2