Path: utzoo!attcan!uunet!mcvax!enea!sommar From: sommar@enea.se (Erland Sommarskog) Newsgroups: comp.lang.misc Subject: Re: FORTRAN Lament (was:Dynamic array d Message-ID: <4236@enea.se> Date: 11 Jan 89 22:03:44 GMT Organization: ENEA DATA AB, Sweden Lines: 19 G Hush Song (gsg0384@uxa.cso.uiuc.edu) writes: > var n:int > put "Give size." > get n > var a:array 1..n of real > /* Now I can use the dynamic array a[i], i = 1, ..., n. */ >... > subroutine routine(n) > integer n > real a(n) >c Now I can use *local* array a(i), i = 1, ..., n for CRAY II only. Don't know really what your problem is, but both Ada and Algol supports this. -- Erland Sommarskog ENEA Data, Stockholm This signature is not to be quoted. sommar@enea.se