Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!local2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Fri, 01 Jan 2016 11:49:53 -0600 Date: Fri, 1 Jan 2016 17:49:53 +0000 From: Jan Coombs Newsgroups: comp.lang.forth Subject: Re: Boring for most of you, but I'm having fun ... :) Message-ID: <20160101174953.26fab232@t500> References: <5387d185-d7d1-47f1-ac16-824ec3f8896d@googlegroups.com> <87y4cdojee.fsf@jester.gateway.pace.com> <871ta4lvfo.fsf@jester.gateway.pace.com> <1p3w2eoyc6g96.1pfwq74dqwbex$.dlg@40tude.net> <2015Dec31.153422@mips.complang.tuwien.ac.at> <2016Jan1.110522@mips.complang.tuwien.ac.at> X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Lines: 22 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-N8NCERiNynF5QEGAn+2HyshVFveSAVo5Xjo31YuS8Tjue3ONdEEtype7NylWUGUdYUsJPO6q+BjEI4p!nIooUD9+Hp/TM5IgFoBSkAQ19g74arm3+slk0OFITfkBynnsBsI4Glm2mnnk9LizQobX1h7ox1s= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2270 Xref: csiph.com comp.lang.forth:44500 On Fri, 01 Jan 2016 18:16:52 +0100 Bernd Paysan wrote: > [...] > > Instead of having all variables initialized with a constant > (Mecrisp), I would rather go at having a separate initialized > version of VARIABLE, since this is not always needed, and > then, the variable initializing region can be even smaller. This sounds good, especially for very small systems. There will need an additional way to allocate RAM, so that only the section for the new variable is initialized to individual values. Perhaps: #VARIABLE ( n -- ; -- addr ) An alternate would be to mandate that all VARIABLEs are initialized to zero, and frig your code to match. Jan Coombs