In article <6b0e…@news.ausics.net>, dxf <dxfo…@gmail.com> wrote:
>On 30/11/2026 10:21 pm, albe…@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) :)
Never mind the internal uses of COUNT. They can stay.
In library code every time you use COUNT, you have placed somethin there
with a non standard word. Replace these instances with $!-BD .
This is a great improvement.
One you're done replace COUNT by $@ and $!-BD by $!.
Now you're not bitten with url's that run more than 256 bytes.
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.