[fpc-devel] Russian locale informationnotcompatible withFPClocalevariables

"Vinzent Höfler" JeLlyFish.software at gmx.net
Thu Jul 31 10:28:50 CEST 2008


> Op Thu, 31 Jul 2008, schreef Boian Mitov:
> 
> > Stupid me, to 20 years ago when I studied Fortran 77, I thought it was 
> > obsolete :-)
> > I hope they at least have loops now, and who knows, it may even support 
> > Hmm.... Hmm... recursion :-D .
> 
> No, Fortran is still in big use, and yes it is obsolete. However, it has 
> some features people like, like local arrays that are dimensioned at 
> procedure call time.

Ada and C99 have that. Scripting languages anyway... I think the main feature of Fortran is the heavily optimzing compiler. ;)

> I'm playing with the idea of implementing such a 
> feature in FPC, like:
> 
> procedure x(const s:integer);
> 
> var a:array[0..s] of byte;
> 
> ... or something.

Hmm.

|var a : array of byte;
|
|SetLength (a, s);

should do?


Vinzent.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



More information about the fpc-devel mailing list