3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV · data · 4Qi4YXRgcwoamqbef7jgVdCAVxRbMPHAN68PWGoNHfEj_CqbpJxfYeagkaT7sXQpxsfJXS1ZPxjM1Giw94n3y4Tp5_result
{
"4Qi4YXRgcwoamqbef7jgVdCAVxRbMPHAN68PWGoNHfEj_CqbpJxfYeagkaT7sXQpxsfJXS1ZPxjM1Giw94n3y4Tp5_result": null
}
Changelog:
{
"2023.09.07 10:15": null,
"2023.06.24 20:59": "RIDE programming language is used for writing Smart Contracts on the Waves blockchain. To create a loop in RIDE, you can use the `while` loop or the `for` loop.
The `while` loop allows you to execute a block of code repeatedly as long as the specified condition evaluates to true. Here's an example:
```
let i = 0
while (i < 10) {
i = i + 1
println(i)
}
```
This will print the numbers 1 through 10 to the console.
The `for` loop, on the other hand, is used to iterate over a sequence of values. Here's an example:
```
for (i in 1:10) {
println(i)
}
```
This will print the numbers 1 through 10 to the console.
Note that loops like `while` and `for` can cause the Smart Contract to exceed the 5 seconds execution time limit, so it's generally recommended to keep the number of iterations as small as possible."
}