Please add the reserved word end_function or endFunc synonym of the reserved words ffonction or EndFunc (TI68k mode)
Thank you.
Code : Tout sélectionner
f1(x) :=
{ // begin
local k; // or var k;
k:=5;
return x*k; // or only x*y;
}; // end
f2(x) :=
begin
local k;
k:=5;
return x*k;
end;
function f3(x)
begin
local k;
k:=5;
return x*k;
end;
function f4(x)
local k;
k:=5;
return x*k;
ffonction; // end_function
f5 := function(x)
local k;
k:=5;
return x*k;
ffonction;
function f6(x)
begin
local k;
k:=5;
return x*k;
ffonction;
//TI68k mode
:f7(x)
:Func
: Local k
: 5->k
: Return x*k
:EndFunc
//result of compilation
//(x)->
//{ local k;
// k:=5;
// return(x*k);
//}