2006-04-19 02:52:53 +00:00
|
|
|
global z, x;
|
|
|
|
|
|
|
|
function sum (i)
|
|
|
|
{
|
|
|
|
local k, y;
|
|
|
|
|
|
|
|
y = 0;
|
|
|
|
for (k = i; k; k = k - 1)
|
|
|
|
{
|
|
|
|
y = y + k;
|
|
|
|
}
|
|
|
|
|
|
|
|
return y;
|
|
|
|
y = 10;
|
|
|
|
return y;
|
|
|
|
}
|
|
|
|
|
|
|
|
BEGIN
|
|
|
|
{
|
2006-04-25 15:20:10 +00:00
|
|
|
/*x = sum (10000000);
|
|
|
|
*/
|
2006-04-19 03:42:08 +00:00
|
|
|
x = sum (100);
|
2006-04-19 02:52:53 +00:00
|
|
|
s = x;
|
|
|
|
ss = z;
|
|
|
|
}
|
|
|
|
|