Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed example for in operator
  • Loading branch information
Joe7M authored Oct 28, 2022
commit 91f1b2c7f52f86adf6778ca048ab810dd2e5df2c
6 changes: 3 additions & 3 deletions _build/pages/features.markdown
Original file line number Diff line number Diff line change
@@ -99,9 +99,9 @@ The unit file would be saved in $UNITPATH/other/something. If not defined, $UNIT
When applied to arrays the IN operator now returns the 1 based index position, for example:

~~~
a << "cat"
a << "dog"
? "dog" in a 'prints 2
a << "cat"
a << "dog"
print "dog" in a ' prints 2
~~~

## Logical expression short-circuit evaluation ##