
B:\ring\tests>call ring scripts/s28.ring 
0
53
53

B:\ring\tests>call ring scripts/s60.ring 
hello
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
eeeeeeeeeeeeeeeeeeeee

Mahmoud
Samir
Ibrahim
Fayed

1
Samir
Ibrahim
4

1
Samir
Ibrahim
4


action
Mahmoud
Samir
Ibrahim
Fayed
Mahmoud
Samir
Ibrahim
Fayed

Fayed
Samir
Ibrahim
Mahmoud
Fayed
Samir
Ibrahim
Mahmoud

B:\ring\tests>call ring scripts/s61.ring 
hello
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
welcomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwww
eeeeeeeeeeeeeeeeeeeee

3
3
3
3
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

1
3
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

1
3
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


action
3
3
3
3
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
3
3
3
3
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

5
3
3
6
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
5
3
3
6
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

B:\ring\tests>call ring scripts/s62.ring 
hello world
1
2
3
4
5
6
7
8
9
10
Mahmoud
Samir
Fayed
MahmoudSamirFayedMahmoud
Ahmed
Ahmed
Samir
Fayed

B:\ring\tests>call ring scripts/s63.ring 
Mahmoud
Samir
Fayed
Mahmoud
Samir
Fayed
Mahmoud
Samir
Fayed
Mahmoud
Samir
Fayed
Mahmoud
Samir
Fayed
Mahmoud
Samir
Fayed
good
wow
Samir
Fayed

B:\ring\tests>call ring scripts/s64.ring 
hello world
1
2
3
number three
4
5
6
7
8
9
10
Mahmoud
Samir
Fayed
1
2
3
4
5
*****************************************************
Mahmoud
Samir
Fayed
1
2
3
4
5
Fayed
Samir
Mahmoud
Fayed
Samir
Mahmoud
Mahmoud
Samir
Fayed
1
4
9
16
25
1
2
3
4
5
*****************************************************
1
4
9
16
25
1
4
9
16
25

B:\ring\tests>call ring scripts/s65.ring 
hello world
1
2
3
Number three
4
5
6
7
8
9
10
Mahmoud
Samir
Fayed
3
1
2
0.50
1
Mahmoud-Egypt-28
Hello
How are you?
Are you fine ?
120
10987654321
inside scope
10
20
after scope
5
7
reverse list
5
4
3
2
1
see list by reference
1
4
9
16
25
see List
1
4
9
16
25
Get item of array returned from function
1
4
9
using seelist
Mahmoud
Samir
Fayed
passing array by value to seelist
Hello
How are you ?
Are you fine
see list directly without using variables 
Mahmoud
Samir
Fayed
1
2
3
4
5
test function return list directly by value
Wow
How are you ?
I hope that you are fine !
reverse two items 
2
1
Fayed
Mahmoud
Mahmoud Samir Fayed 
send function return list to function take list
1
2
use general temp memory
1
2.12
hello world
1
2
3
Number three
4
5
6
7
8
9
10
Mahmoud
Samir
Fayed
3
1
2
0.50
1
Mahmoud-Egypt-28
Hello
How are you?
Are you fine ?
120
10987654321
inside scope
10
20
after scope
5
7
reverse list
5
4
3
2
1
see list by reference
1
4
9
16
25
see List
1
4
9
16
25
Get item of array returned from function
1
4
9
using seelist
Mahmoud
Samir
Fayed
passing array by value to seelist
Hello
How are you ?
Are you fine
see list directly without using variables 
Mahmoud
Samir
Fayed
1
2
3
4
5
test function return list directly by value
Wow
How are you ?
I hope that you are fine !
reverse two items 
2
1
Fayed
Mahmoud
Mahmoud Samir Fayed 
send function return list to function take list
1
2

B:\ring\tests>call ring scripts/s78.ring  0<scripts/test78.txt 


	Main Menu
	===========
	[1] Say Hello
	[2] Sum two numbers
	[3] Stars
	[4] Fact
	[5] Exit

	
Enter your name ? Hello mahmoud


	Main Menu
	===========
	[1] Say Hello
	[2] Sum two numbers
	[3] Stars
	[4] Fact
	[5] Exit

	
number 1 : number 2 : Sum : 7

	Main Menu
	===========
	[1] Say Hello
	[2] Sum two numbers
	[3] Stars
	[4] Fact
	[5] Exit

	
        *
        **
        ***
        ****
        *****
        ******
        *******
        ********
        *********
        **********


	Main Menu
	===========
	[1] Say Hello
	[2] Sum two numbers
	[3] Stars
	[4] Fact
	[5] Exit

	
Enter Number : Output : 120

	Main Menu
	===========
	[1] Say Hello
	[2] Sum two numbers
	[3] Stars
	[4] Fact
	[5] Exit

	

B:\ring\tests>call ring scripts/oop.ring 
Welcome
Welcome
Mahmoud
Programmer
123456
bye 

B:\ring\tests>call ring scripts/oop2.ring 
good
r value : 1
I am here
cName value : Mahmoud
cname: Mahmoud
caddress: Egypt
cphone: 123456789
r: 0.000000
Mahmoud
Ahmed
r value : 1
good
cname: Ahmed
caddress: Egypt
cphone: 123456789
r: 0.000000

B:\ring\tests>call ring scripts/oop3.ring 
NICE
Mahmoud
Ahmed
name : Samir
country : KSA
Age : 56
one
two
three

B:\ring\tests>call ring scripts/oop4.ring 
welcome 
Name : Mahmoud
Country : Egypt
Email : test@email.com
Phone : 123456789
Website : www.mywebsite.com
First Job : Researcher
Jobs List : Researcher
Developer
Programmer
one
two
cjobname: a
cother: nice
vgood: 3.140000
cjobname: a
cother: nice
vgood: 3.140000
Jobs count : 6
other : nice
other : nice
2
Jobs : a
a
3.14

B:\ring\tests>call ring scripts/oop5.ring 
one
nice
 mahmoud fayed 
five
e
good

B:\ring\tests>call ring scripts/oop6.ring 
Mahmoud

B:\ring\tests>call ring scripts/oop7.ring 
Hello Mahmoud
Hello Ahmed
Hello 1
Hello 2
Hello 3
Hello 4
Hello 5
Hello 6
Hello 7
Hello 8
Hello 9
Hello 10

B:\ring\tests>call ring scripts/oop8.ring 
Name : Mahmoud
Address : Egypt
Phone : 123456
Sum : 15
Hello Ahmed
Name : Mahmoud
Address : Egypt
Phone : 123456
one
two
three
Objects Count : 1
test
test2

B:\ring\tests>call ring scripts/oop9.ring 
Name      Mahmoud
Country   Egypt
Phone     123456

B:\ring\tests>call ring scripts/oop10.ring 
Top : 10
Left : 10
Width : 200
Height : 200
Top : 5
Left : 5
Width : 100
Height : 50
Top : 10
Left : 10
Width : 200
Height : 200
Top : 5
Left : 5
Width : 100
Height : 50
Object Width : 100
object Height : 400
object top : 500

B:\ring\tests>call ring scripts/oop11.ring 
hello from class
Hello Mahmoud
name: Mahmoud
country: egypt
phone: 1234567879
hello from class
Hello Mahmoud
name: Mahmoud
country: egypt
phone: 1234567879

B:\ring\tests>call ring scripts/oop12.ring 
Time 3493

B:\ring\tests>call ring scripts/oop13.ring 
Welcome
nice
Great
one 
very nice 
Sum : 7
very nice 
one 
very nice 
one 
very nice 
another one!

B:\ring\tests>call ring scripts/oop14.ring 
Hello Mahmoud
before 
A
h
m
e
d
After
Hello Samir
before 
S
a
m
i
r
After
Name : Samir
Address : Egypt
Phone : 123456

B:\ring\tests>call ring scripts/oop15.ring 
Welcome to my class Person
Name : Mahmoud
Age : 28
Country : Egypt
Welcome to my class Person
Welcome to my class Person2
Name : Ahmed
Age : 28
Country : Egypt

B:\ring\tests>call ring scripts/oop16.ring 
x : 10
y : 20
z : 30
Hello Mahmoud

B:\ring\tests>call ring scripts/oop17.ring 
x : 10
y : 20
z : 30
Hello mahmoud

B:\ring\tests>call ring scripts/oop18.ring 
X = 1
Message : Welcome
Hello Mahmoud Fayed
Before print 
name : Mahmoud
Country : Egypt
Phone : 123456
Test : 2
Job name : Programmer
Salary : 48000
Test : 3
Months : 6
Days per week : 5
Test : 4
After eval 
test: 2.000000
name: Mahmoud
country: Egypt
phone: 123456
job: Object...
name: Programmer
salary: 48000
time: Object...
test: 3.000000
months: 6.000000
daysperweek: 5.000000
test: 4.000000

B:\ring\tests>call ring scripts/oop19.ring 
Name    : Mahmoud
Country : Egypt
Job     : Programmer
Name    : ahmed
Country : Egypt
Job     : Programmer
one
two
three
Love
Mahmoud from Egypt
B:\ring\tests>call ring scripts/oop20.ring 
 ID   : 2014
 name : Mahmoud
 address : Egypt
 phone : 123456789
 job  : programmer
 level : 120
B:\ring\tests>call ring scripts/oop21.ring 
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
more...
49000
salary: 49000.000000
tlist: List...
1000
2000
3000
4000

B:\ring\tests>call ring scripts/oop22.ring 
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
49000
salary: 49000.000000
tlist: List...
1000
2000
3000
4000

B:\ring\tests>call ring scripts/oop23.ring 
hello
Hello Mahmoud
nice

B:\ring\tests>call ring scripts/oop24.ring 

Line 1 Error (R25) : Error in package name, Package not found! : system.output 
in file scripts/oop24.ring 
B:\ring\tests>call ring scripts/oop25.ring 
Customers
Invoices

B:\ring\tests>call ring scripts/oop26.ring 
Customers
Invoices
welcome

B:\ring\tests>call ring scripts/oop27.ring 
Customers
welcome from world2
Invoices from world2
Invoices
welcome

B:\ring\tests>call ring scripts/oop28.ring 
hello from the customers class
Customers
hello from the sales.base class
hello from the world2.invoices class
hello from the world2.base class
welcome from world2
Invoices from world2
Great
Wow 
 so nice! 
hello from the sales.invoices class
welcome from world2
Invoices from world2
Great
Wow 
 so nice! 
Invoices
welcome

B:\ring\tests>call ring scripts/oop29.ring 
can't call private mehtod
name : mahmoud
address : Egypt
phone : 123456
job : Software Engineer
name : Ali
address : KSU
phone : 123456
job : programmer
job : programmer
can't use private attribute

Line 28 Error (R26) : Calling private method from outside the class : getjob 
in file scripts/oop29.ring 
B:\ring\tests>call ring scripts/oop30.ring 
Message from GetName() Function!
Mahmoud1Message from GetName() Function!
Mahmoud2Message from GetName() Function!
Mahmoud3Message from GetName() Function!
Mahmoud4Message from GetName() Function!
Mahmoud5Message from GetName() Function!
Mahmoud6Message from GetName() Function!
Mahmoud7Message from GetName() Function!
Mahmoud8Message from GetName() Function!
Mahmoud9Message from GetName() Function!
Mahmoud10Message from GetName() Function!
Mahmoud11Message from GetName() Function!
Mahmoud12Message from GetName() Function!
Mahmoud13Message from GetName() Function!
Mahmoud14Message from GetName() Function!
Mahmoud15Message from GetName() Function!
Mahmoud16Message from GetName() Function!
Mahmoud17Message from GetName() Function!
Mahmoud18Message from GetName() Function!
Mahmoud19Message from GetName() Function!
Mahmoud20Message from GetName() Function!
Mahmoud21Message from GetName() Function!
Mahmoud22Message from GetName() Function!
Mahmoud23Message from GetName() Function!
Mahmoud24Message from GetName() Function!
Mahmoud25Message from GetName() Function!
Mahmoud26Message from GetName() Function!
Mahmoud27Message from GetName() Function!
Mahmoud28Message from GetName() Function!
Mahmoud29Message from GetName() Function!
Mahmoud30Message from GetName() Function!
Mahmoud31Message from GetName() Function!
Mahmoud32Message from GetName() Function!
Mahmoud33Message from GetName() Function!
Mahmoud34Message from GetName() Function!
Mahmoud35Message from GetName() Function!
Mahmoud36Message from GetName() Function!
Mahmoud37Message from GetName() Function!
Mahmoud38Message from GetName() Function!
Mahmoud39Message from GetName() Function!
Mahmoud40Message from GetName() Function!
Mahmoud41Message from GetName() Function!
Mahmoud42Message from GetName() Function!
Mahmoud43Message from GetName() Function!
Mahmoud44Message from GetName() Function!
Mahmoud45Message from GetName() Function!
Mahmoud46Message from GetName() Function!
Mahmoud47Message from GetName() Function!
Mahmoud48Message from GetName() Function!
Mahmoud49Message from GetName() Function!
Mahmoud50Message from GetName() Function!
Mahmoud51Message from GetName() Function!
Mahmoud52Message from GetName() Function!
Mahmoud53Message from GetName() Function!
Mahmoud54Message from GetName() Function!
Mahmoud55Message from GetName() Function!
Mahmoud56Message from GetName() Function!
Mahmoud57Message from GetName() Function!
Mahmoud58Message from GetName() Function!
Mahmoud59Message from GetName() Function!
Mahmoud60Message from GetName() Function!
Mahmoud61Message from GetName() Function!
Mahmoud62Message from GetName() Function!
Mahmoud63Message from GetName() Function!
Mahmoud64Message from GetName() Function!
Mahmoud65Message from GetName() Function!
Mahmoud66Message from GetName() Function!
Mahmoud67Message from GetName() Function!
Mahmoud68Message from GetName() Function!
Mahmoud69Message from GetName() Function!
Mahmoud70Message from GetName() Function!
Mahmoud71Message from GetName() Function!
Mahmoud72Message from GetName() Function!
Mahmoud73Message from GetName() Function!
Mahmoud74Message from GetName() Function!
Mahmoud75Message from GetName() Function!
Mahmoud76Message from GetName() Function!
Mahmoud77Message from GetName() Function!
Mahmoud78Message from GetName() Function!
Mahmoud79Message from GetName() Function!
Mahmoud80Message from GetName() Function!
Mahmoud81Message from GetName() Function!
Mahmoud82Message from GetName() Function!
Mahmoud83Message from GetName() Function!
Mahmoud84Message from GetName() Function!
Mahmoud85Message from GetName() Function!
Mahmoud86Message from GetName() Function!
Mahmoud87Message from GetName() Function!
Mahmoud88Message from GetName() Function!
Mahmoud89Message from GetName() Function!
Mahmoud90Message from GetName() Function!
Mahmoud91Message from GetName() Function!
Mahmoud92Message from GetName() Function!
Mahmoud93Message from GetName() Function!
Mahmoud94Message from GetName() Function!
Mahmoud95Message from GetName() Function!
Mahmoud96Message from GetName() Function!
Mahmoud97Message from GetName() Function!
Mahmoud98Message from GetName() Function!
Mahmoud99
B:\ring\tests>call ring scripts/oop31.ring 
Message from GetName() Function!
Mahmoud1Message from GetName() Function!
Mahmoud2Message from GetName() Function!
Mahmoud3Message from GetName() Function!
Mahmoud4Message from GetName() Function!
Mahmoud5Message from GetName() Function!
Mahmoud6Message from GetName() Function!
Mahmoud7Message from GetName() Function!
Mahmoud8Message from GetName() Function!
Mahmoud9Message from GetName() Function!
Mahmoud10Message from GetName() Function!
Mahmoud11Message from GetName() Function!
Mahmoud12Message from GetName() Function!
Mahmoud13Message from GetName() Function!
Mahmoud14Message from GetName() Function!
Mahmoud15Message from GetName() Function!
Mahmoud16Message from GetName() Function!
Mahmoud17Message from GetName() Function!
Mahmoud18Message from GetName() Function!
Mahmoud19Message from GetName() Function!
Mahmoud20Message from GetName() Function!
Mahmoud21Message from GetName() Function!
Mahmoud22Message from GetName() Function!
Mahmoud23Message from GetName() Function!
Mahmoud24Message from GetName() Function!
Mahmoud25Message from GetName() Function!
Mahmoud26Message from GetName() Function!
Mahmoud27Message from GetName() Function!
Mahmoud28Message from GetName() Function!
Mahmoud29Message from GetName() Function!
Mahmoud30Message from GetName() Function!
Mahmoud31Message from GetName() Function!
Mahmoud32Message from GetName() Function!
Mahmoud33Message from GetName() Function!
Mahmoud34Message from GetName() Function!
Mahmoud35Message from GetName() Function!
Mahmoud36Message from GetName() Function!
Mahmoud37Message from GetName() Function!
Mahmoud38Message from GetName() Function!
Mahmoud39Message from GetName() Function!
Mahmoud40Message from GetName() Function!
Mahmoud41Message from GetName() Function!
Mahmoud42Message from GetName() Function!
Mahmoud43Message from GetName() Function!
Mahmoud44Message from GetName() Function!
Mahmoud45Message from GetName() Function!
Mahmoud46Message from GetName() Function!
Mahmoud47Message from GetName() Function!
Mahmoud48Message from GetName() Function!
Mahmoud49Message from GetName() Function!
Mahmoud50Message from GetName() Function!
Mahmoud51Message from GetName() Function!
Mahmoud52Message from GetName() Function!
Mahmoud53Message from GetName() Function!
Mahmoud54Message from GetName() Function!
Mahmoud55Message from GetName() Function!
Mahmoud56Message from GetName() Function!
Mahmoud57Message from GetName() Function!
Mahmoud58Message from GetName() Function!
Mahmoud59Message from GetName() Function!
Mahmoud60Message from GetName() Function!
Mahmoud61Message from GetName() Function!
Mahmoud62Message from GetName() Function!
Mahmoud63Message from GetName() Function!
Mahmoud64Message from GetName() Function!
Mahmoud65Message from GetName() Function!
Mahmoud66Message from GetName() Function!
Mahmoud67Message from GetName() Function!
Mahmoud68Message from GetName() Function!
Mahmoud69Message from GetName() Function!
Mahmoud70Message from GetName() Function!
Mahmoud71Message from GetName() Function!
Mahmoud72Message from GetName() Function!
Mahmoud73Message from GetName() Function!
Mahmoud74Message from GetName() Function!
Mahmoud75Message from GetName() Function!
Mahmoud76Message from GetName() Function!
Mahmoud77Message from GetName() Function!
Mahmoud78Message from GetName() Function!
Mahmoud79Message from GetName() Function!
Mahmoud80Message from GetName() Function!
Mahmoud81Message from GetName() Function!
Mahmoud82Message from GetName() Function!
Mahmoud83Message from GetName() Function!
Mahmoud84Message from GetName() Function!
Mahmoud85Message from GetName() Function!
Mahmoud86Message from GetName() Function!
Mahmoud87Message from GetName() Function!
Mahmoud88Message from GetName() Function!
Mahmoud89Message from GetName() Function!
Mahmoud90Message from GetName() Function!
Mahmoud91Message from GetName() Function!
Mahmoud92Message from GetName() Function!
Mahmoud93Message from GetName() Function!
Mahmoud94Message from GetName() Function!
Mahmoud95Message from GetName() Function!
Mahmoud96Message from GetName() Function!
Mahmoud97Message from GetName() Function!
Mahmoud98Message from GetName() Function!
Mahmoud99Message from GetName() Function!
Mahmoud100
B:\ring\tests>call ring scripts/oop32.ring 
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
B:\ring\tests>call ring scripts/oop33.ring 
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed

B:\ring\tests>call ring scripts/oop34.ring 
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Ahmed Fayed
B:\ring\tests>call ring scripts/oop35.ring 
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Test : 
Message from SetName() Function!
Message from GetName() Function!
Mr. Ahmed Fayed
B:\ring\tests>call ring scripts/oop36.ring 
name: Mahmoud
address: NULL
phone: NULL
link: NULL
nice 
name: Mahmoud
address: NULL
phone: NULL
link: NULL
name: NULL
address: Egypt
phone: 123456
link: Object...
more...
49000
salary: 49000.000000
tlist: List...
1000
2000
3000
4000
5000

B:\ring\tests>call ring scripts/oop37.ring 
nice 
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
more...
49000
salary: 49000.000000
tlist: List...
1000
2000
3000
4000
5000

B:\ring\tests>call ring scripts/oop38.ring 
nice 
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
name: Mahmoud
address: Egypt
phone: 123456
link: Object...
more...
49000
salary: 49000.000000
tlist: List...
1000
2000
3000
4000
5000
1
2
3
4
5

B:\ring\tests>call ring scripts/oop39.ring 
Point 1: X : 10 Y : 10
Point 2: X : 20 Y : 40
operator overloading works fine
paramters : Hello
operator : +
operator overloading works fine
paramters : 2015
operator : +
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : +
operator overloading works fine
paramters : Hello2
operator : -
operator overloading works fine
paramters : 2014
operator : -
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : -
operator overloading works fine
paramters : Hello3
operator : *
operator overloading works fine
paramters : 2016
operator : *
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : *
operator overloading works fine
paramters : Hello4
operator : /
operator overloading works fine
paramters : 2000
operator : /
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : /
operator overloading works fine
paramters : Hello5
operator : %
operator overloading works fine
paramters : 2001
operator : %
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : %
operator overloading works fine
paramters : 1
2
3

operator : +
operator overloading works fine
paramters : 1
2
3

operator : -
operator overloading works fine
paramters : 1
2
3

operator : *
operator overloading works fine
paramters : 1
2
3

operator : /
operator overloading works fine
paramters : 0
operator : neg
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : =
operator overloading works fine
paramters : 1
operator : =
operator overloading works fine
paramters : one
operator : =
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : <=
operator overloading works fine
paramters : 1
operator : <=
operator overloading works fine
paramters : one
operator : <=
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : <
operator overloading works fine
paramters : 1
operator : <
operator overloading works fine
paramters : one
operator : <
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : >
operator overloading works fine
paramters : 1
operator : >
operator overloading works fine
paramters : one
operator : >
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : >=
operator overloading works fine
paramters : 1
operator : >=
operator overloading works fine
paramters : one
operator : >=
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : !=
operator overloading works fine
paramters : 1
operator : !=
operator overloading works fine
paramters : one
operator : !=
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : &
operator overloading works fine
paramters : 1
operator : &
operator overloading works fine
paramters : one
operator : &
operator overloading works fine
paramters : x: 20.000000
y: 40.000000

operator : |
operator overloading works fine
paramters : 1
operator : |
operator overloading works fine
paramters : one
operator : |
operator overloading works fine
paramters : 0
operator : not
operator overloading works fine
paramters : 1
2
3

operator : %
x: 10.000000
y: 10.000000

B:\ring\tests>call ring scripts/oop40.ring 
name mahmoud
address ksa
phone 12345
name ahmed
address egypt
phone 12345
name mahmoud
address ksa
phone 12345
name ahmed
address egypt
phone 12345

B:\ring\tests>call ring scripts/oop41.ring 
operator overloading
operator : +
parameter : test

B:\ring\tests>call ring scripts/oop42.ring 
hello
Welcome
1
0
1

B:\ring\tests>call ring scripts/oop43.ring 
operator overloading
operator : +
parameter : 1
2
3

R value:
4
5
6

B:\ring\tests>call ring scripts/oop44.ring 
10
20
30
40

B:\ring\tests>call ring scripts/oop45.ring 
Welcome 
1
2
3

B:\ring\tests>call ring scripts/oop46.ring 
welcome to the application 
name: Mahmoud
address: NULL
phone: NULL
link: NULL
nice 
name: Mahmoud
address: NULL
phone: NULL
link: NULL
name: NULL
address: Egypt
phone: 123456
link: Object...
more...
49000
salary: 49000.000000
tlist: List...
1000
2000
3000
4000
5000

B:\ring\tests>call ring scripts/selfbug.ring 
welcome

Line 15 Error (R31) : Trying to destory the object using the self reference  
In method f1() in file scripts/selfbug.ring
called from line 10  in file scripts/selfbug.ring 
B:\ring\tests>call ring scripts/selfininit.ring 
10
20

B:\ring\tests>call ring scripts/subobjs.ring 
x: 10.000000
y: 20.000000
z: 30.000000
x: 100.000000
y: 200.000000
z: 300.000000

B:\ring\tests>call ring scripts/subobjs2.ring 
x: 100.000000
y: 200.000000
z: 300.000000
x: 50.000000
y: 150.000000
z: 250.000000

B:\ring\tests>call ring scripts/subobjs3.ring 
welcome
Point :
x : 100
y : 200
z : 300
welcome
Point :
x : 50
y : 150
z : 250
welcome
Point :
x : 150
y : 250
z : 350

B:\ring\tests>call ring scripts/subobjs4.ring 
x: 100.000000
y: 200.000000
z: 300.000000
x: 50.000000
y: 150.000000
z: 250.000000

B:\ring\tests>call ring scripts/subobjs5.ring 
x: 100.000000
y: 200.000000
z: 300.000000
x: 50.000000
y: 150.000000
z: 250.000000
I have 2 points!
B:\ring\tests>call ring scripts/newinlist.ring 
Item 4 is a list contains 3 items
1
2
3
Object inside item 5
x: 100.000000
y: 200.000000
z: 300.000000
Object inside item 6
x: 50.000000
y: 150.000000
z: 250.000000

B:\ring\tests>call ring scripts/toop1.ring 
10
20
30

B:\ring\tests>call ring scripts/toop2.ring 
10
20
30
B:\ring\tests>call ring scripts/toop3.ring 
10
20
30
B:\ring\tests>call ring scripts/toop4.ring 
Name : Rectangle 1
Color: Blue
P1   : (10,20)
P2   : (200,300)
B:\ring\tests>call ring scripts/toop5.ring 
Message from SetName() Function!
Message from GetName() Function!
Mr. Mahmoud Fayed
Message from SetName() Function!
Message from GetName() Function!
Mr. Ahmed Fayed
B:\ring\tests>call ring scripts/toop6.ring 
Name   : Test
Age    : 20
Salary : 15000
Error (R27) : Using private attribute from outside the class : salary
Error (R26) : Calling private method from outside the class : increasesalary

B:\ring\tests>call ring scripts/toop7.ring 
P1    : X : 10 Y : 10
P2    : X : 20 Y : 40
P1+P2 : X : 30 Y : 50

B:\ring\tests>call ring scripts/toop8.ring 
Name : test
Age : 20
Job : programmer
Salary : 20000000

B:\ring\tests>call ring scripts/toop9.ring 
5

B:\ring\tests>call ring scripts/toop10.ring 
Hello World

B:\ring\tests>call ring scripts/toop11.ring 
Hello World

B:\ring\tests>call ring scripts/string2.ring 

see "Hello" + nl
for x = 1 to 10
	see 'Number ' + x + nl
next
Hello
Number 1
Number 2
Number 3
Number 4
Number 5
Number 6
Number 7
Number 8
Number 9
Number 10

B:\ring\tests>call ring scripts/comment.ring 
Hello
1
2
3
4
5
6
7
8
9
10
done

B:\ring\tests>call ring scripts/commenterror.ring 

B:\ring\tests>call ring scripts/passbug.ring 
1
2
3
1
2
3
wwow
wwow
wwow

B:\ring\tests>call ring scripts/passbug2.ring 
102345
B:\ring\tests>call ring scripts/passbug3.ring 
test
1
B:\ring\tests>call ring scripts/retbug.ring 
welcome
Content-type: text/html

<meta charset='UTF-8'>
<html>
<header>
		
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>

	<title>
		Test
	</title>

</header>
<body> 

	Wow
</body>
</html>
B:\ring\tests>call ring scripts/privatebug.ring 
hello
f2
mmm....
great
how are you
f3
 iam here 
 iam here 2
coutput
pvar
ntabs
 iam here 3 
 iam here 4 
great
 iam here 5 

B:\ring\tests>call ring scripts/privatebug2.ring 
	nice
hello
f2
mmm....
great
how are you
f3
 iam here 
 iam here 2
coutput
pvar
ntabs
 iam here 3 
 iam here 4 
great
 iam here 5 

B:\ring\tests>call ring scripts/privatebug3.ring 

	nice
hello
f2
mmm....
great
how are you
f3
 iam here 
 iam here 2
coutput
pvar
ntabs
 iam here 3 
 iam here 4 
great
 iam here 5 

B:\ring\tests>call ring scripts/sort.ring 
1
12
5
26
7
14
3
7
2
List after sort
1
2
3
5
7
7
12
14
26

B:\ring\tests>call ring scripts/sort2.ring 
mahmoud
samir
ahmed
ibrahim
mohammed
list after sort
ahmed
ibrahim
mahmoud
mohammed
samir

B:\ring\tests>call ring scripts/sort3.ring 
ahmed
14000
ibrahim
11000
mahmoud
15000
mohammed
12000
samir
16000

B:\ring\tests>call ring scripts/emptyfile.ring 

B:\ring\tests>call ring scripts/emptyfile2.ring 

B:\ring\tests>call ring scripts/emptyfile3.ring 

B:\ring\tests>call ring scripts/emptyfile4.ring 

B:\ring\tests>call ring scripts/evaltest.ring 
5+2*5 = 15
1
2
3
4
5
6
7
8
9
10
message from test!
B:\ring\tests>call ring scripts/evalclassbug.ring 
new class
new object
end of test!

B:\ring\tests>call ring scripts/evalmem2.ring 
hello world from test function!
B:\ring\tests>call ring scripts/evalscope.ring 
10
B:\ring\tests>call ring scripts/braceend.ring 
How are you?
I'm fine, Thank you!

B:\ring\tests>call ring scripts/braceend2.ring 
hello from brace end!hello from brace end!
B:\ring\tests>call ring scripts/bitwise.ring 
Testing bitwise operators : 
 X = 10 
 Y = 5 
x << y : 320
x >> y : 0
x ^ y : 15
x & y : 0
x | y : 15
 X = 4 
 Y = 5 
x << y : 128
x >> y : 0
x ^ y : 1
x & y : 4
x | y : 5
 8 << 1 16
 8 >> 1 4

B:\ring\tests>call ring scripts/retineval.ring 
5
x value = 10


B:\ring\tests>call ring scripts/retfunc.ring 
2
1
20
30
1
20
30
good
good
good
nice

B:\ring\tests>call ring scripts/math.ring 
Mathematical Functions
Sin(0) = 0
Sin(90) radians = 0.89
Sin(90) degree = 1.00
Cos(0) = 1
Cos(90) radians = -0.45
Cos(90) degree = 0.00
Tan(0) = 0
Tan(90) radians = -2.00
Tan(90) degree = 1255.77
asin(0) = 0
acos(0) = 1.57
atan(0) = 0
atan2(1,1) = 0.79
sinh(0) = 0
sinh(1) = 1.18
cosh(0) = 1
cosh(1) = 1.54
tanh(0) = 0
tanh(1) = 0.76
exp(0) = 1
exp(1) = 2.72
log(1) = 0
log(2) = 0.69
log10(1) = 0
log10(2) = 0.30
log10(10) = 1
Ceil(1.12) = 2
Ceil(1.72) = 2
Floor(1.12) = 1
Floor(1.72) = 1
fabs(1.12) = 1.12
fabs(1.72) = 1.72
pow(2,3) = 8
sqrt(16) = 4

B:\ring\tests>call ring scripts/newinmethodpara.ring 
hello
x: 10.000000
y: 20.000000
z: 30.000000
x: 100.000000
y: 200.000000
z: 300.000000
x: 1000.000000
y: 2000.000000
z: 3000.000000
x: 1000.000000
y: 2000.000000
z: 3000.000000

B:\ring\tests>call ring scripts/newinpara.ring 
x: 10.000000
y: 20.000000
z: 30.000000

B:\ring\tests>call ring scripts/findcrash.ring 
0
B:\ring\tests>call ring scripts/initbrace.ring 
nice
B:\ring\tests>call ring scripts/callinitmethod.ring 
wow
wow3
wow5
init
nice
wow4
wow2

B:\ring\tests>call ring scripts/callinitmethod2.ring 
init
good

B:\ring\tests>call ring scripts/callinitmethod3.ring 
x: 10.000000
y: 20.000000
z: 30.000000

B:\ring\tests>call ring scripts/callmethodfromobj.ring 
test2
para : 10

B:\ring\tests>call ring scripts/braceerror2.ring 
base
child

B:\ring\tests>call ring scripts/parabracebug.ring 

B:\ring\tests>call ring scripts/dotbracebug.ring 
1
top
left
width
height
100
print

B:\ring\tests>call ring scripts/trybug.ring 
 invalid path

B:\ring\tests>call ring scripts/forincrash.ring 
6
B:\ring\tests>call ring scripts/forinlist.ring 
1
2
3

B:\ring\tests>call ring scripts/timeforfun.ring 
Hello
Goodbye!

B:\ring\tests>call ring scripts/printobj2.ring 
print the list
1
2
3
x: 1.000000
y: 2.000000
z: 3.000000
x: 1.000000
y: 2.000000
z: 3.000000
print the item (object)
x: 1.000000
y: 2.000000
z: 3.000000

B:\ring\tests>call ring scripts/insertfirst.ring 
first
1
2
3
4
5
first
1
2
3
4
5
end

B:\ring\tests>call ring scripts/ppcrash.ring 
11
12

B:\ring\tests>call ring scripts/ppcrash2.ring 
11
B:\ring\tests>call ring scripts/nestednew3.ring 
pobject: NULL
x: 30.000000
y: 40.000000
z: 50.000000
pobject: NULL
x: 10.000000
y: 20.000000

B:\ring\tests>call ring scripts/each.ring 
1
4
9
16
25
36
49
64
81
100
1
2
3
4
5
6
7
8
9
10

B:\ring\tests>call ring scripts/retassign.ring 
0
1

B:\ring\tests>call ring scripts/forinstr.ring 
1
0
1
0
1
0

B:\ring\tests>call ring scripts/happynum.ring 
1 : 1
2 : 7
3 : 10
4 : 13
5 : 19
6 : 23
7 : 28
8 : 31

B:\ring\tests>call ring scripts/happynum2.ring 
1 : 1
2 : 7
3 : 10
4 : 13
5 : 19
6 : 23
7 : 28
8 : 31

B:\ring\tests>call ring scripts/addmethod.ring 
10
20
30

B:\ring\tests>call ring scripts/addmethod2.ring 
10
20
30
10
20
30
10
20
30
