Skip to content

Commit 08f16e6

Browse files
dashevchenkoashvayka
authored andcommitted
updated tbel docs with some recommendations
1 parent 957496d commit 08f16e6

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

_includes/docs/user-guide/tbel.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,23 @@ array[3] = 4; return: Error with message:"Invalid statement: 4" and "[Line: 5, C
556556
```
557557
{: .copy-code}
558558

559+
**Avoid i++ inside [...]:**
560+
561+
✅ Allowed:
562+
563+
```java
564+
var channel_id = input[i];
565+
i = i + 1;
566+
```
567+
{: .copy-code}
568+
569+
❌ Not allowed:
570+
571+
```java
572+
var channel_id = input[(i++)];
573+
```
574+
{: .copy-code}
575+
559576
### Literals
560577

561578
A literal is used to represent a fixed-value in the source of a particular script.

0 commit comments

Comments
 (0)