[Info-vax] VAX BASIC global variables.

Arne Vajhøj arne at vajhoej.dk
Fri Oct 15 20:14:27 EDT 2021


On 10/15/2021 6:36 PM, Lawrence D’Oliveiro wrote:
> I wrote:
>> But, consider that in C, every extern variable is effectively its own named common block.
>>
>> With all that that implies.
> 
> Umm, maybe I was thinking of K&R C ...

VAX C used that model.

DEC/CPQ/HP(E)/VSI C by default use another model, but can
use that model if instructed to (/EXTERN=COMMON/SHARE).

Arne





More information about the Info-vax mailing list