From f84c532f16da6979be29ebb0e2e3af2da839174e Mon Sep 17 00:00:00 2001 From: Florian Sattler Date: Sat, 1 Jun 2013 23:56:35 +0200 Subject: [PATCH] fixed example4 --- doc/example4.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/example4.x b/doc/example4.x index f5d80ed..64d4978 100644 --- a/doc/example4.x +++ b/doc/example4.x @@ -1,5 +1,5 @@ int foobar dana fox mulder return 9001; scully int barfoo dana fox mulder return 8999; scully -int foo dana int x fox mulder if dana 2 < x fox foobar dana fox; if dana x < 2 fox barfoo dana fox; return 0; scully +int foo dana int x fox mulder int y; if dana 2 < x fox y = foobar dana fox; if dana x < 2 fox y = barfoo dana fox; return y; scully foo dana 3 fox; foo dana 1 fox;