Skip to content

Commit 5c4f62a

Browse files
Add info about global variables limits in FunC (#1195)
* Update global_variables.md * Update global_variables.md
1 parent 07bd3e4 commit 5c4f62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/v3/documentation/smart-contracts/func/docs/global_variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ int main() {
2525

2626
In this example, the global variable `op` is assigned the addition operator `_+_`. The program then verifies the associativity of addition using three sample integers: 2, 3, and 9.
2727

28-
Under the hood, global variables in FunC are stored in the `c7` control register of the TVM.
28+
Under the hood, global variables in FunC are stored in the `c7` control register of the TVM, with a maximum limit of 31 variables.
2929

3030

3131
In FunC, you can _omit the type_ of global variable.

0 commit comments

Comments
 (0)