Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #35954

Re: Counted string

From "HAA" <someone@microsoft.com>
Newsgroups comp.lang.forth
Subject Re: Counted string
Date 2015-01-22 11:49 +1100
Organization Aioe.org NNTP Server
Message-ID <m9phcl$q7e$1@speranza.aioe.org> (permalink)
References <174b22de-2454-4e17-ac18-6a1333ec408f@googlegroups.com> <m9o0sb$ber$1@newsserver.rrzn.uni-hannover.de>

Show all headers | View raw


Matthias Koch wrote:
> > Marek Brunda wrote:
> > Hi, can anyone explain me, what's wrong with counted strings? Maybe it's a stupid
> > question, but I've never understood it. Thanks
>
> With addr-length strings it is possible to get a token or cut something else out
> without the need to change the underlying memory. Manipulation of counted strings
> always need a change in the buffer itself. If this is no concern, then both can be
> equally fine.

There are no "address length strings" in ANS Forth - only "address length" operations.
Retrieving and storing strings is left to the programmer.


Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Counted string Marek Brunda <marekb@phoenics.org> - 2015-01-18 23:54 -0800
  Re: Counted string "Elizabeth D. Rather" <erather@forth.com> - 2015-01-18 22:08 -1000
    Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-19 09:36 +0000
      Re: Counted string "HAA" <someone@microsoft.com> - 2015-01-20 00:21 +1100
        Re: Counted string Coos Haak <chforth@hccnet.nl> - 2015-01-19 14:44 +0100
      Re: Counted string Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-01-20 00:45 -0800
        Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-20 13:12 +0000
          Re: Counted string Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-01-21 01:05 -0800
            Re: Counted string albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-01-21 10:54 +0000
    Re: Counted string lehs <skydda.barnen@gmail.com> - 2015-01-30 11:18 -0800
  Re: Counted string Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2015-01-21 11:58 +0100
    Re: Counted string "HAA" <someone@microsoft.com> - 2015-01-22 11:49 +1100
  Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-23 20:17 -0500
    Re: Counted string Marek Brunda <marekb@phoenics.org> - 2015-01-26 11:21 -0800
      Re: Counted string Mark Wills <markwills1970@gmail.com> - 2015-01-26 12:11 -0800
        Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-26 21:55 -0500
          Re: Counted string Julian Fondren <julian.fondren@gmail.com> - 2015-01-26 19:46 -0800
            Re: Counted string albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-01-27 12:07 +0000
              Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-28 20:13 -0500
            Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-27 15:43 +0000
              Re: Counted string Marek Brunda <marekb@phoenics.org> - 2015-01-27 13:28 -0800
                Re: Counted string Elizabeth D Rather <erather@forth.com> - 2015-01-27 13:06 -1000
                Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-30 17:33 +0000
            Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-28 20:07 -0500
              Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-28 20:16 -0500
              Re: Counted string Coos Haak <chforth@hccnet.nl> - 2015-01-29 03:14 +0100
      Re: Counted string Pablo Hugo Reda <pabloreda@gmail.com> - 2015-01-26 12:14 -0800
        Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-26 21:55 -0500
        Re: Counted string Ron Aaron <rambamist@gmail.com> - 2015-01-27 06:55 +0200
          Re: Counted string "Alex McDonald" <blog@rivadpm.com> - 2015-01-27 14:46 +0000
      Re: Counted string "Elizabeth D. Rather" <erather@forth.com> - 2015-01-26 11:25 -1000

csiph-web