Use local variables to test that functionality.

This commit is contained in:
Pavel Machek 1999-11-04 14:03:36 +00:00
parent df8b85e33f
commit f30b25f962

View file

@ -11,8 +11,10 @@ define xyzzy = 120+10;
function callme ( int arg1; int arg2 )
int local1;
int local2;
int i;
{
print "Function callme called arguments " arg1 " and " arg2;
i = arg2;
case arg1 {
2: print "dva"; print "jeste jednou dva";
@ -64,6 +66,9 @@ int j;
print "This route was from " rta.from;
j = 7;
j = 17;
if rta.rip_metric > 15 then
print "RIP Metric is more than infinity";
accept;
}