Sindbad~EG File Manager

Current Path : /usr/tests/usr.bin/gh-bc/tests/bc/
Upload File :
Current File : //usr/tests/usr.bin/gh-bc/tests/bc/misc2.txt

define w() { auto z; return 1; }
define x() {
	"x"
	return (1)
}
define y() {
	"y"
	return (2)
}
define z() {
	"z"
	return (3)
}

define v() { return }

v()

w()

if (x() == y()) { 1 }
1
if (x() <= y()) { 2 }
if (y() >= x()) { 3 }
if (x() != y()) { 4 }
if (x() < y()) { 5 }
if (y() > x()) { 6 }

if (x() == z()) { 11 }
11
if (x() <= z()) { 12 }
if (z() >= x()) { 13 }
if (x() != z()) { 14 }
if (x() < z()) { 15 }
if (z() > x()) { 16 }

x = -10
while (x <= 0) {
	x
	if (x == -5) break;
	x += 1
}

define u() {
	auto a[];
	return a[0]
}

u()

if (x == -4) x
else x - 4

x = 1

if (x == 1) 1 else 2
if (x == 0) 1 else 2

if (x == 1) 1 else if (x == 0) 2 else 3
if (x == 0) 1 else if (x == 1) 2 else 3
if (x == -1) 1 else if (x == 0) 2 else 3

if (x == 1) if (x != 0) 1 else 2 else 3
if (x == 1) if (x == 0) 1 else 2 else 3
if (x != 1) if (x == 0) 1 else 2 else 3

if (x == 1) while (x > 0) { x ; x -= 1 } else 0
x = 1
if (x == 0) while (x > 0) { x ; x -= 1 } else 0

if(x == 1) {
	11
	while(x == 1) {
		21
		while(x == 1) {
			31
			break
			32
		}
		22
		break
		23
	}
	12
}
99

for (;;) { 123 ; break; }
for (i = 0;; ++i) { i ; if (i == 2) break; else i; }
for (i = 0;;!++i) { i ; if (i == 2) break; else i; }
for (i = 0;; ++i) { i ; if (i != 2) i else break }

while (i > 0) if (i == 1) break else i--
while (i < 3) if (i != 2) i++ else break

for(i=1; i<=3; i++) { i; if(i==2) continue; print i,i,"\n" }

print 1,2,3
print "\n"

ifz = 1
ifz
++ifz
ifz++
ifz

{
	4
	5
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists