Re: portable or not? Volatile strings

Liste des GroupesRevenir à cl forth 
Sujet : Re: portable or not? Volatile strings
De : mhx (at) *nospam* iae.nl (mhx)
Groupes : comp.lang.forth
Date : 14. Aug 2024, 15:06:25
Autres entêtes
Organisation : novaBBS
Message-ID : <9f0673c854a961df63960f6a435ae0b9@www.novabbs.com>
References : 1 2 3 4 5
User-Agent : Rocksolid Light
On Wed, 14 Aug 2024 10:38:55 +0000, albert@spenarnc.xs4all.nl wrote:
[..]

Example
CREATE $VAR1 100 ALLOT
"AAP"  \ is permanent. (somehow )
2DUP $VAR1 $!   \ You take responsibilty that `$VAR is large enough
\ The constant string is still on the stack and can be reused.
Oh, now you point to an unwanted, or complicating, effect.
The phrase  ' "aap"   must create the string before its descriptor
can be returned. Unless, of course, "aap" exists already. A ticked
number has the same problem.
Just make that exception?
-marcel

Date Sujet#  Auteur
12 Aug 24 * Re: portable or not? Volatile strings14Ruvim
12 Aug 24 `* Re: portable or not? Volatile strings13albert
12 Aug 24  +- Re: portable or not? Volatile strings1Ruvim
12 Aug 24  +- Re: portable or not? Volatile strings1Gerry Jackson
13 Aug 24  `* Re: portable or not? Volatile strings10mhx
14 Aug 24   +* Re: portable or not? Volatile strings2dxf
14 Aug 24   i`- Re: portable or not? Volatile strings1mhx
14 Aug 24   `* Re: portable or not? Volatile strings7Anton Ertl
14 Aug 24    `* Re: portable or not? Volatile strings6Gerry Jackson
14 Aug 24     `* Re: portable or not? Volatile strings5mhx
14 Aug 24      `* Re: portable or not? Volatile strings4minforth
15 Aug 24       `* Re: portable or not? Volatile strings3dxf
15 Aug 24        `* Re: portable or not? Volatile strings2albert
16 Aug 24         `- Re: portable or not? Volatile strings1dxf

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal