Skip to content

Commit

Permalink
Merge pull request #284 from lf-lang/typo-state-var
Browse files Browse the repository at this point in the history
Fixing typos in explanation of State Declaration.
  • Loading branch information
lhstrh authored Sep 11, 2024
2 parents ea0b763 + 4608cc0 commit 5aef94e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/writing-reactors/parameters-and-state-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ A reactor declares a state variable as follows:
</ShowIf>
</ShowIfs>

The type can any of the same forms as for a parameter.
The type can be any of the same forms as for a parameter.

The `<value>` is an initial value and, like parameter values, can be given as an [expression](../reference/expressions.mdx) or target language code with delimiters `{= ... =}`. The initial value can also be given as a parameter name. The value can be accessed and modified in a target-language-dependent way as illustrated by the following example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ A reactor declares a state variable as follows:
</ShowIf>
</ShowIfs>

The type can any of the same forms as for a parameter.
The type can be any of the same forms as for a parameter.

The `<value>` is an initial value and, like parameter values, can be given as an [expression](../reference/expressions.mdx) or target language code with delimiters `{= ... =}`. The initial value can also be given as a parameter name. The value can be accessed and modified in a target-language-dependent way as illustrated by the following example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ A reactor declares a state variable as follows:
</ShowIf>
</ShowIfs>

The type can any of the same forms as for a parameter.
The type can be any of the same forms as for a parameter.

The `<value>` is an initial value and, like parameter values, can be given as an [expression](../reference/expressions.mdx) or target language code with delimiters `{= ... =}`. The initial value can also be given as a parameter name. The value can be accessed and modified in a target-language-dependent way as illustrated by the following example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ A reactor declares a state variable as follows:
</ShowIf>
</ShowIfs>

The type can any of the same forms as for a parameter.
The type can be any of the same forms as for a parameter.

The `<value>` is an initial value and, like parameter values, can be given as an [expression](../reference/expressions.mdx) or target language code with delimiters `{= ... =}`. The initial value can also be given as a parameter name. The value can be accessed and modified in a target-language-dependent way as illustrated by the following example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ A reactor declares a state variable as follows:
</ShowIf>
</ShowIfs>

The type can any of the same forms as for a parameter.
The type can be any of the same forms as for a parameter.

The `<value>` is an initial value and, like parameter values, can be given as an [expression](../reference/expressions.mdx) or target language code with delimiters `{= ... =}`. The initial value can also be given as a parameter name. The value can be accessed and modified in a target-language-dependent way as illustrated by the following example:

Expand Down

0 comments on commit 5aef94e

Please sign in to comment.