On Thu, Jul 29, 2021 at 07:26:50PM +0200, eduardo-chibas@caramail.com wrote:
> The suggestion is to set everything.
Well, yesh, you are supposed to always initialize your variables.
> local help=0 ; f=0 ; vb=0 ; fs="" ; incl="" ; excl="" ; pn=0 ; qn=0 ; dyn=1 ;
> ctx=8 ; fdir=""
This is wrong -- you don't need ";" here, e.g. "local a=0 b=1". The above code
is equivalent to:
-----8<-----
local help=0
f=0
vb=0
...
----->8-----
> A simple script has became a monster.
Because of 2 extra line? How was it not a monster before, given that you need
all these variables?
--
Leonid Isaev