Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Ivan Shmakov Newsgroups: comp.lang.basic.misc,comp.sys.sinclair Subject: Re: MS BASIC, Sinclair BASIC, STOS BASIC: derivatives comparison? Date: Fri, 07 Dec 2012 21:05:30 +0700 Organization: Aioe.org NNTP Server Lines: 26 Message-ID: <86wqwuufdh.fsf@gray.siamics.net> References: <86zk253p5x.fsf@gray.siamics.net> <86lidbwwtk.fsf@gray.siamics.net> <62d4af2f-931a-4b84-8b2d-8a0e4a8d9e5c@i2g2000pbi.googlegroups.com> NNTP-Posting-Host: FtDGZaUx6k7Bzdiv4MgYAg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:FfoJKi33iAba96KhWYhXOh92pUE= Xref: csiph.com comp.lang.basic.misc:351 comp.sys.sinclair:1652 >>>>> news@rtrussell co uk writes: >>>>> On Dec 6, 5:53 am, Ivan Shmakov wrote: >> Which is v$(n TO m)? > Not sure that this is any more 'advanced' than MID$(v$,n,m-n+1) - > just a different and non-standard syntax. However, it saves a couple of keywords (just a single TO, instead of LEFT$, MID$ and RIGHT$), which should've been important in a BASIC which mapped both characters /and/ keywords to the same set of 256 possible octets. (Also to note is that as an extension, Beta BASIC allowed for the TO syntax to be used on arrays.) Given that I'm musing over the possibility of writing (one more) BASIC interpreter for an MCU, -- either an 8-bit AVR, or an 32-bit ARM, or perhaps both, -- I guess I'd be more interested in following the Sinclair BASIC syntax. (Or should I check if MMBasic can be improved to suit my needs first?) [...] -- FSF associate member #7257