Skip to content

Commit 0624737

Browse files
authored
Merge pull request #6 from navinsubramani/Function_Lists
Adding Boolean operations, Comparison operations and updated print co…
2 parents f2d67a0 + 933af32 commit 0624737

17 files changed

+161
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
a=True
2+
b=False
3+
print(a&&b)
4+
print(a&&a)
5+
print(b&&b)
6+
print(a||b)
7+
print(a||a)
8+
print(b||b)
9+
print(!a)
10+
print(!b)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
a=41
2+
b=5
3+
println(a==b)
4+
print(a<=b)
5+
print(a>=b)
6+
print(a<b)
7+
print(a>b)
8+
9+
\\check this kind of things
10+
print((a+8)>b)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print(!True&&(!False))

source code/LSL components/functions/functions list/Boolean Operations/Boolean Operations.lvclass

Lines changed: 70 additions & 0 deletions
Large diffs are not rendered by default.

source code/LSL components/functions/functions list/Comparison Operations/Comparison Operations.lvclass

Lines changed: 70 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)