Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #54073
| From | Paul Rubin <no.email@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Rosetta Code: Accumulator factory |
| Date | 2017-01-17 01:38 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <877f5uxbyq.fsf@nightsong.com> (permalink) |
| References | <o5kmev$tfm$1@gioia.aioe.org> |
"Robert L." <No_spamming@noWhere_7073.org> writes: > f20 = factory(20) > f500 = factory(500) > p f500.call(3) ; p f500[3.0] ; p f500.(3) : acc ( n -- ) CREATE , DOES> ( n a -- n ) tuck @ + over ! @ ; 20 acc f20 ok 500 acc f500 ok 3 f500 . 503 ok 2 f20 . 22 ok 2 f20 . 24 ok 5 f500 . 508 ok 3 f20 . 27 ok
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Rosetta Code: Accumulator factory "Robert L." <No_spamming@noWhere_7073.org> - 2017-01-17 09:00 +0000
Re: Rosetta Code: Accumulator factory Paul Rubin <no.email@nospam.invalid> - 2017-01-17 01:38 -0800
Re: Rosetta Code: Accumulator factory anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-01-17 13:54 +0000
Re: Rosetta Code: Accumulator factory Paul Rubin <no.email@nospam.invalid> - 2017-01-17 13:10 -0800
Re: Rosetta Code: Accumulator factory Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-01-18 03:15 -0600
Re: Rosetta Code: Accumulator factory anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-01-18 13:43 +0000
Re: Rosetta Code: Accumulator factory Paul Rubin <no.email@nospam.invalid> - 2017-01-18 13:20 -0800
Re: Rosetta Code: Accumulator factory albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-01-19 02:40 +0100
Re: Rosetta Code: Accumulator factory anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-01-19 16:27 +0000
csiph-web