🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #291

Re: Braindamaged strings

#291
From: albert
Date: Sat, 05 Dec 2026 12:32
67 lines
3349 bytes
In article <6b139e7c@news.ausics.net>, dxf  <dxforth@gmail.com> wrote:
>On 4/12/2026 9:05 pm, albert@spenarnc.xs4all.nl wrote:
>> In article <2026Dec3.161239@mips.complang.tuwien.ac.at>,
>> Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>>> dxf <dxforth@gmail.com> writes:
>>>> On 3/12/2026 5:47 pm, Anton Ertl wrote:
>>>>> |Disable warnings with "warnings off" and reduce warnings with "-1
>>> warnings !"
>>>>
>>>> 'all or nothing' as I said.
>>>
>>> Maybe this statement is too hard to understand (the other explanation
>>> would be a failure at reading comprehension by dxf).  Does anybody
>>> have a suggestion how to make it easier to understand without making
>>> it longer?
>>
>> If you encounter a specific error, only the first time you have
>> to study it thoroughly. The following times the long explanation
>> is annoying. Then it is seldom complete.
>>
>> I prefer the error number  approach. Identify each error by a number
>> and get that out immediately, before the communication gets a chance
>> to get compromised.
>> If possible adorn it with a short mnemonic message (WORD NOT FOUND).
>> ...
>
>In fairness I've no convenient way to test what -1 WARNINGS ! in current
>Gforth does.  If it disables the 'beginner' stuff while retaining the
>basic amenities forth users have come to expect, then well and good.
>
What about reading the documentation?

With
  info lina64
and then (open a section in info)
   g
   WARNING

resulting in this (because each word is made a topic)

"
Description: A user variable containing a value controlling messages.
If it is 1, a library file is assumed to be open, and messages are
fetched from it.  If it is 0, error messages will be presented by number
only.
"

Similar information is available in gforth, but the Debian boys
insisted that the gforth documentation is not "free", so they refuse
to install it. This is inherited by Ubuntu etc.
You can install it, but it is hard.

Without installing and if you can find the gforth info file you can do

  info -f <PATH>/gforth.info

Then you have to search with / for in gforth, because WARNING is
not the title of a section (AFAIK).

P.S. You can also open ci86.lina64.html and in the first page,
click on WARNING.

Groetjes Albert
-- 
The Chinese government is satisfied with its military superiority over USA.
The next 5 year plan has as primary goal to advance life expectancy
over 80 years, like Western Europe.
Technical Details
Message-ID: <nnd$6871109c$735ecac2@8a865d8a84fb3a8c>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!abo004.abavia.com!feed.abavia.com!abr002.abavia.com!abp003.abavia.com!reseller!not-for-mail
References: <nnd$2790af4d$71f56696@06eb3ea8c34cc53c> <2026Dec3.161239@mips.complang.tuwien.ac.at> <nnd$27258aef$4d811303@f355f0a92757abc7> <6b139e7c@news.ausics.net>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.forth
Subject: Re: Braindamaged strings
References: <nnd$2790af4d$71f56696@06eb3ea8c34cc53c> <2026Dec3.161239@mips.complang.tuwien.ac.at> <nnd$27258aef$4d811303@f355f0a92757abc7> <6b139e7c@news.ausics.net>
From: albert@spenarnc.xs4all.nl
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$6871109c$735ecac2@8a865d8a84fb3a8c>
Organization: www.abavia.com
Date: Sat, 05 Dec 2026 13:32:21 +0100
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!abo004.abavia.com!feed.abavia.com!abr002.abavia.com!abp003.abavia.com!reseller!not-for-mail
Lines: 68
Injection-Date: Sat, 05 Dec 2026 13:32:21 +0100
Injection-Info: reseller; mail-complaints-to="abuse@abavia.com"