[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are you trolling us?
From: |
Leonid Isaev (ifax) |
Subject: |
Re: Are you trolling us? |
Date: |
Thu, 29 Jul 2021 17:47:10 +0000 |
User-agent: |
Mutt/1.13.4 (2020-02-15) |
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
- Are you trolling us?, (continued)
- Are you trolling us?, eduardo-chibas, 2021/07/28
- Re: Are you trolling us?, Lawrence Velázquez, 2021/07/28
- Are you trolling us?, eduardo-chibas, 2021/07/28
- Re: Are you trolling us?, Chet Ramey, 2021/07/28
- Are you trolling us?, eduardo-chibas, 2021/07/29
- Re: Are you trolling us?, Chet Ramey, 2021/07/29
- Are you trolling us?, eduardo-chibas, 2021/07/29
- Are you trolling us?, eduardo-chibas, 2021/07/29
- Re: Are you trolling us?, Greg Wooledge, 2021/07/29
- Are you trolling us?, eduardo-chibas, 2021/07/29
- Re: Are you trolling us?,
Leonid Isaev (ifax) <=
- Are you trolling us?, eduardo-chibas, 2021/07/29
- Re: Are you trolling us?, grumpy, 2021/07/30
- Are you trolling us?, eduardo-chibas, 2021/07/30
- Re: Are you trolling us?, grumpy, 2021/07/30
- Are you trolling us?, eduardo-chibas, 2021/07/30
- Re: Are you trolling us?, Greg Wooledge, 2021/07/30
- Re: Are you trolling us?, grumpy, 2021/07/30