"Source: Text/System/Func.text";
"Line: 223";
"Date: Thu Sep 25 14:47:43 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/System/Func.text, line: 223
// Example: H2E1 ()
print "Example: H2E1";
ei := GetEchoInput();
SetEchoInput(true);
fibonacci := function(n)
   if n le 2 then
      return 1;
   else
      return $$(n-1) + $$(n-2);
   end if;
end function;
fibonacci(10)+fibonacci(12);
function Lucas(n)
   if n eq 1 then
      return 1;
   elif n eq 2 then
      return 3;
   else
      return Lucas(n-1)+Lucas(n-2);
   end if;
end function;
Lucas(11);
fibo := func< n | n le 2 select 1 else $$(n-1) + $$(n-2) >;
fibo(10)+fibo(12);
SetEchoInput(ei);
