Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (16 sloc) 169 Bytes
function sequence(a, b, by)
x = a
v = {x}
while x <= b - by
x = x + by
v = append(v, x)
end
v
end
function pos_x(x)
if x >= 0
x
else
0
end
end