Article View: comp.lang.forth
Article #270Re: Braindamaged strings
From: dxf
Date: Tue, 01 Dec 2026 08:52
Date: Tue, 01 Dec 2026 08:52
20 lines
1521 bytes
1521 bytes
On 30/11/2026 10:21 pm, albert@spenarnc.xs4all.nl wrote: > In this day and age it is time to terminate the use of characters > to store a string count. > > With great pleasure I see that Gforth has adopted the use of a cell > to store the count of a string, officially. > $@ replaces COUNT. For places where COUNT is indeed use to fetch > a string I propose to ALIAS COUNT as `` $@-BD '' . > $! has no equivalent in brain damaged strings that is widely adopted. > Certainly the pair $@ $! makes a lot of sense. Finally you could stop > pondering of a PLACE-SOMESUCH words has anything to do with strings, and > what the stack effect could be. > > "Happy Christmas" PAD $! > PAD $@ TYPE > > Happy Christmas OK Someone should tell SwiftForth and VFX (2500+ instances of COUNT) :)
Technical Details
Message-ID:
<6b0e8ac5$1@news.ausics.net>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.bbs.nz!news.ausics.net!not-for-mailReferences:
<nnd$2790af4d$71f56696@06eb3ea8c34cc53c>Show Full Headers
Complete Article Headers
Date: Tue, 1 Dec 2026 19:52:23 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Braindamaged strings Newsgroups: comp.lang.forth References: <nnd$2790af4d$71f56696@06eb3ea8c34cc53c> Content-Language: en-GB From: dxf <dxforth@gmail.com> In-Reply-To: <nnd$2790af4d$71f56696@06eb3ea8c34cc53c> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit NNTP-Posting-Host: news.ausics.net Message-ID: <6b0e8ac5$1@news.ausics.net> Organization: Ausics - https://newsgroups.ausics.net Lines: 20 X-Complaints: abuse@ausics.net Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.bbs.nz!news.ausics.net!not-for-mail