Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #57715
| From | "HAA" <someone@microsoft.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: POCKET ? |
| Date | 2017-04-21 21:56 +1000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <odcs1o$isr$1@gioia.aioe.org> (permalink) |
| References | <odboqr$p54$2@gioia.aioe.org> <87o9vqcudf.fsf@nightsong.com><odbvat$10a6$1@gioia.aioe.org> <6OidnaerL4pLCWTFnZ2dnUU7-dHNnZ2d@supernews.com> |
Elizabeth D. Rather wrote:
> On 4/20/17 5:46 PM, HAA wrote:
> > Paul Rubin wrote:
> >> "HAA" <someone@microsoft.com> writes:
> >>> Many a time I've needed a temporary buffer e.g. to keep track of an
> >>> address at compile-time, but was loathe to create a variable.
> >>
> >> PAD ?
> >
> > No good. It moves as I'm compiling.
>
> The stack? That's what all the compiling words use. It really depends on
> how long you need to keep it. Maybe you could give us an example.
>
> Cheers,
> Elizabeth
Temp store a value or string for later compilation e.g.
:noname ... ; ( xt) pocket ! : FOO ... [ pocket @ ] LITERAL ... ;
Other uses for POCKET. It can be handy to have *two* string buffers to
play with e.g. recent 'splitting a string' thread. Not keen on string stacks
for things which should be accomplished trivially.
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
POCKET ? "HAA" <someone@microsoft.com> - 2017-04-21 11:55 +1000
Re: POCKET ? Paul Rubin <no.email@nospam.invalid> - 2017-04-20 20:27 -0700
Re: POCKET ? "HAA" <someone@microsoft.com> - 2017-04-21 13:46 +1000
Re: POCKET ? "Elizabeth D. Rather" <erather@forth.com> - 2017-04-20 19:12 -1000
Re: POCKET ? "HAA" <someone@microsoft.com> - 2017-04-21 21:56 +1000
Re: POCKET ? hughaguilar96@gmail.com - 2017-04-21 18:19 -0700
Re: POCKET ? The Beez <the.beez.speaks@gmail.com> - 2017-04-24 02:11 -0700
Re: POCKET ? hughaguilar96@gmail.com - 2017-04-24 09:03 -0700
Re: POCKET ? foxaudioresearch@gmail.com - 2017-04-24 17:52 -0700
Re: POCKET ? hughaguilar96@gmail.com - 2017-04-24 19:00 -0700
Re: POCKET ? "HAA" <someone@microsoft.com> - 2017-05-05 21:10 +1000
csiph-web