TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2020-07-19 13:12:00
subject: Re: Strange construct in

John,

> Ahem and Andy are correct. Ignore Wieser.

I would suggest you listen do dumbass sorry, Dumas there, even though Ahem
and Andy said the same as I did and did not post a solution either.

And even though dumbass, sorry, Dumas there has nothing to add to what Ahem,
Andy and I already said - other pointing out something that isn't part of
your problem and also doesn't often exist (understatement) in simple words
like you used.


As for the solution ?   I overthought it.    The problem is that the FORCE
variable may be an empty string.  The solution ?  Make sure that the
compared-with string is never empty.  How ?   Prefix a character - and do
the same to the other side of the comparision.

In short, something like this:

change

${FORCE} = "1"

to

"!"${FORCE} = "!1"

Thats all. :-)

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.