On Friday 08 November 2013 23:17:40 Sieghard wrote:
>
> > 15.   No arrays of arbitrary range,
>
> Incomplete language implementation.

Why? We don't talk about Pascal. I often see errors in programs because of 
wrong 0/1 array starting index. Oberon doesn't have it either:
"
6.2. Array types
An array is a structure consisting of a fixed number of elements which are all 
of the same type,
called the element type. The number of elements of an array is called its 
length. The elements of
the array are designated by indices, which are integers between 0 and the 
length minus 1.
"
Currently arbitrary array bounds are back because of IvankoBs argument with 
the performance gain by addressing by base Register.
>
> >     type
> >      arty = array[0..9] of snum32;
> >
> > becomes
> >
> >     type
> >      arty = array[10] of snum32;
>
> Urghh.
>
Why? Because it looks like C and C is evil?
Another possibility
"
 arty = array 10 of int32;
"
(Oberon like). I think "[]" as pattern for arrays is not bad.
>
> This is not Pascal anymore then. Call it "MartiniC" or some such.
>
The name is MSElang. :-)
BTW, the Wiki is a work in progress, you should have a look before 
sending. ;-)

Martin

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to