10 Jun 17:13
Question about agent
From: Zheng Hu <zheng.hu <at> gmx.de>
Subject: Question about agent
Newsgroups: gmane.comp.lang.eiffel.smalleiffel
Date: 2008-06-10 15:15:40 GMT
Expires: This article expires on 2008-06-24
Subject: Question about agent
Newsgroups: gmane.comp.lang.eiffel.smalleiffel
Date: 2008-06-10 15:15:40 GMT
Expires: This article expires on 2008-06-24
Hi once again :)
I have still a problem with "agent". Here is an example:
functions: LINKED_LIST[ROUTINE[TUPLE]
f1(i: INTEGER) is
do
print(i.out)
end
f2(c: CHARACTER; n:INTEGER) is
do
print(c.to_string + n.out)
end
make is
do
create functions.make
functions.add_last(agent f1(12))
functions.add_last(agent f2('f',23))
end
When I compile it to C, I get following line of code for last two lines of make function:
/*se_evobt*/(void*)0,se_print_run_time_stack(),exit(1);
/*se_evobt*/(void*)0,se_print_run_time_stack(),exit(1);
Any suggestion again?
Thanks in advance!
(Continue reading)
RSS Feed