diff --git a/exec/skex2.lua b/exec/skex2.lua index 691985a..7fb8969 100644 --- a/exec/skex2.lua +++ b/exec/skex2.lua @@ -36,6 +36,7 @@ function ct.list(s,e) end end function ct.sp(np) + np=tonumber(np) if np then if np > #ft then np = #ft @@ -60,8 +61,9 @@ function ct.insert(np) end end function ct.append(np) - if np then np=np+1 end - ct.insert(np) + ct.sp(np) + p=p+1 + ct.insert() end function ct.substitute(np) ct.sp(np)