Date : Sat, 30 Oct 2004 17:02:33 +0100
From : Ben Newsam <ben@...>
Subject: Re: Dimensioned area space
In message <Marcel-1.53-1030153748-0b0zokP@...>, Andrew W
<a.weston2@...> writes
>If in BASIC I type:
>DIM A%-1
>P.A%-TOP
>I get as expected: '0'
>
>If I type
>DIM A%-1
>P.A%-TOP
>DIM G% 0
>P.A%-TOP
>I get '1' as expected (I think I expected it anyway ;-))
>
>However if I type:
>DIM A%-1
>P.A%-TOP
>DIM GH% 0
>P.A%-TOP
>I get '10'
>where is the memory going?
The variable GH% has to be created, whereas the variable G% is already
allocated space.
--
Ben Newsam