<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 17 Jun 2009 12:25:51 +0200 (BST)
From   : johan@... (Johan Heuseveldt)
Subject: Am I saving or loading 1 byte too many....?

Hi Pete,

On Tue 16 Jun, Pete Turnbull wrote:
> On 16/06/2009 22:16, Pete Turnbull wrote:

> >> *SAVE <xxxx> 3000 4000
> >>
> >> Should that save the actual byte at &4000 or not?
> > 
> > It would save the byte at &4000, giving a file length of &1001.  It's 
> > often easier to use the "+<length>" form instead of the end address.
> 
> Actually, I was wrong: it saves &1000 bytes, as others pointed out.  I 
> must have been thinking of something else.

Basic's DIM statement?:

  DIM test% 10

will reserve 11 (eleven) bytes from test%?0 upto test%?10 inclusive!


Greetings,
Johan

-- 
Johan Heuseveldt <johan@...              >
  aka  waarland

  The best place is a Riscy place

Free the Indianapolis 500.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>