Anonymous user
Price fraction: Difference between revisions
Rename variable
mNo edit summary |
(Rename variable) |
||
Line 2,234:
const func float: computePrice (in float: x) is func
result
var float:
begin
if x >= 0.0 and x < 0.06 then
elsif x < 0.11 then
elsif x < 0.36 then
elsif x < 0.96 then
else
end if;
end func;
Line 2,267:
const func float: computePrice (in float: x) is func
result
var float:
local
var integer: index is 1;
Line 2,275:
incr(index);
end while;
else
raise RANGE_ERROR;
|