[Info-vax] VAX BASIC global variables.
Arne Vajhøj
arne at vajhoej.dk
Thu Oct 14 21:33:42 EDT 2021
On 10/14/2021 9:30 PM, E Thump wrote:
> On Friday, October 15, 2021 at 2:26:19 AM UTC+1, Arne Vajhøj wrote:
>>> You do not have a common (myarea) in adder, so it does
>>> not use anything global.
>
> Aaah... forgive me... it's 2.30am here!!
>
> I missed that. I tried it and it works in my program. The second 'after sub' prints 1400 now.
>
> OK, I think I get it. I'll re-read the docs with this new knowledge, hopefully it'll make a bit more sense.
And remember this is just the Fortran way.
Maybe there is better way in Basic.
But that will require somebody that knows Basic. Like Dave or the VSI
compiler guru.
Arne
More information about the Info-vax
mailing list