<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 13 Feb 2005 09:44:08 +0000 (GMT)
From   : Sprow <info@...>
Subject: Re: BASIC q's

In article <000001c511ad$b5e204b0$0301010a@...>,
   Tom Drage <drage@...> wrote:
> In BASIC what do ? and & mean, I think & means memory......

? peeks or pokes one byte
! peeks or pokes 4 bytes
$ peeks or pokes a string, including CHR$13 terminator
& prefixes a hex number

So
 a = ?80
would be the same as 
 a = ?&50

You might want to download the BBC Micro user guide, which is available
online, and skim read the BASIC tutorial, it covers most elementary
constructs,
Sprow.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>