Article View: comp.lang.forth
Article #268Braindamaged strings
From: albert
Date: Mon, 30 Nov 2026 11:21
Date: Mon, 30 Nov 2026 11:21
22 lines
1519 bytes
1519 bytes
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 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$2790af4d$71f56696@06eb3ea8c34cc53c>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!abo001.abavia.com!feed.abavia.com!abr004.abavia.com!abp002.abavia.com!reseller!not-for-mailShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.forth From: albert@spenarnc.xs4all.nl Subject: Braindamaged strings X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: albert@cherry.(none) (albert) Message-ID: <nnd$2790af4d$71f56696@06eb3ea8c34cc53c> Organization: www.abavia.com Date: Mon, 30 Nov 2026 12:21:21 +0100 Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!abo001.abavia.com!feed.abavia.com!abr004.abavia.com!abp002.abavia.com!reseller!not-for-mail Lines: 23 Injection-Date: Mon, 30 Nov 2026 12:21:21 +0100 Injection-Info: reseller; mail-complaints-to="abuse@abavia.com"