Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1181

Re: Running BASIC text files

From Martin <News03@avisoft.f9.co.uk>
Subject Re: Running BASIC text files
Newsgroups comp.sys.acorn.programmer
Date 2011-12-12 22:00 +0000
Message-ID <5240a0e8c7News03@avisoft.f9.co.uk> (permalink)
References (1 earlier) <kpf6e7d2orn4m0u92nj9t9kukghbdnl32o@4ax.com> <3c9ee13f52.cferris@cferris.freeuk.com> <CnnFq.52254$Oz7.36638@newsfe24.ams2> <52408588bfNews03@avisoft.f9.co.uk> <0arFq.38914$E33.6964@newsfe23.ams2>
Organization None

Show all headers | View raw


On 12 Dec, in article <0arFq.38914$E33.6964@newsfe23.ams2>,
   Steve Drain <steve@kappa.me.uk> wrote:
> On 12/12/2011 17:01, Martin wrote:
> > On 12 Dec, in article<CnnFq.52254$Oz7.36638@newsfe24.ams2>,
> >     Steve Drain<steve@kappa.me.uk>  wrote:
> >>      IF !i%=&E3A0400A THEN:REM MOV R4,#10
> >
> > I fear that will be treated as a single-line IF..THEN rather than the
> > start of a multi-line IF..THEN..ENDIF in many cases!
> >
> > It will always execute the following lines, unless REMs are set to be
> > removed on loading that code, by having OS variable BASIC$Crunch set
> > and it being valid for the BASIC version being run.

> True, but I /always/ have BASIC$Crunch set, and advocate that everyone 
> else should, too. ;-)

Oh yes, so do I. But I have been caught out in the past when others have
run my code who do not have it set!

> More seriously, the reason for this fudge is buried in the depths of 
> time and only relates to BASIC V version 1.04. Why it is not set in 
> !Boot baffles me. 

I agree totally. 

> BASIC VI removes REMs etc as a matter of course.
> BTW Basalt removes REMs if it encounters them.

Both good!

Martin

-- 
Martin Avison 
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received. 

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Running BASIC text files cferris@freeRemoveuk.com.invalid - 2011-12-10 10:32 +0000
  Re: Running BASIC text files John Kortink <kortink@inter.nl.net> - 2011-12-10 12:27 +0100
    Re: Running BASIC text files cferris@freeRemoveuk.com.invalid - 2011-12-11 11:11 +0000
      Re: Running BASIC text files Steve Drain <steve@kappa.me.uk> - 2011-12-12 13:32 +0000
        Re: Running BASIC text files Martin <News03@avisoft.f9.co.uk> - 2011-12-12 17:01 +0000
          Re: Running BASIC text files Steve Drain <steve@kappa.me.uk> - 2011-12-12 17:50 +0000
            Re: Running BASIC text files Martin <News03@avisoft.f9.co.uk> - 2011-12-12 22:00 +0000
              Re: Running BASIC text files Alan Adams <alan@adamshome.org.uk> - 2011-12-18 12:37 +0000
                Re: Running BASIC text files Steve Drain <steve@kappa.me.uk> - 2011-12-18 13:21 +0000
                Re: Running BASIC text files Alan Adams <alan@adamshome.org.uk> - 2011-12-18 14:20 +0000
                Re: Running BASIC text files Steve Drain <steve@kappa.me.uk> - 2011-12-18 17:17 +0000
                Re: Running BASIC text files Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-12-20 05:58 +0100
                Re: Running BASIC text files Steve Drain <steve@kappa.me.uk> - 2011-12-20 15:30 +0000
                Re: Running BASIC text files Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-12-21 08:34 +0100
                Re: Running BASIC text files "Ste (news)" <steve@revi11.plus.com> - 2011-12-20 13:36 +0000
                Re: Running BASIC text files Steve Drain <steve@kappa.me.uk> - 2011-12-20 15:31 +0000
                Re: Running BASIC text files "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-12-20 16:39 +0100
                Re: Running BASIC text files Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-12-21 08:39 +0100
      Re: Running BASIC text files Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-12-12 16:35 +0100
        Re: Running BASIC text files John Kortink <kortink@inter.nl.net> - 2011-12-12 18:51 +0100
          Re: Running BASIC text files Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-12-13 06:31 +0100
            Re: Running BASIC text files Martin Wuerthner <spamtrap@mw-software.com> - 2011-12-13 10:11 +0100
              Re: Running BASIC text files trevj <trevj@cwazy.co.uk> - 2011-12-13 02:36 -0800
                Re: Running BASIC text files John Kortink <kortink@inter.nl.net> - 2011-12-13 15:20 +0100
                Re: Running BASIC text files Martin Wuerthner <spamtrap@mw-software.com> - 2011-12-13 15:42 +0100
              Re: Running BASIC text files cferris@freeRemoveuk.com.invalid - 2011-12-13 12:37 +0000
            Re: Running BASIC text files John Kortink <kortink@inter.nl.net> - 2011-12-13 15:38 +0100
  Re: Running BASIC text files  <news@iank.org.uk> - 2011-12-13 16:37 +0000

csiph-web