We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3987d0 commit 795bd50Copy full SHA for 795bd50
documentation/leo/03_language.md
@@ -156,6 +156,7 @@ The body of the program is delimited by curly braces `{}`.
156
import foo.aleo;
157
158
program hello.aleo {
159
+ const FOO: u64 = 1u64;
160
mapping balances: address => u64;
161
162
record token {
@@ -187,7 +188,7 @@ program hello.aleo {
187
188
}
189
190
function compute(a: u64, b: u64) -> u64 {
- return a + b;
191
+ return a + b + FOO;
192
193
194
```
0 commit comments