[fpc-pascal]Questions about the new features in version 1.2.

Keith Bowes keith_bowes at hotmail.com
Mon Apr 9 05:10:47 CEST 2001


After seeing the page on planned compiler features, I've downloaded a
version 1.1 snapshot and have tried out these new features; however, there
are some things that I do not understand but feel that I should in case I
need to use them in the future.  I hope someone can explain these things to
me.

1. What are Interfaces and Widestrings?

2. How do you get the upper and lower bounds of dynamic arrays when you
don't already know those values for certain?  When I use the High and Low
functions for these things, I always get -1 and 0, respectively.

3. What are default parameters?  Is it where you give parameters default
values that are used if the parameter isn't passed when the function or
procedure is called, kind of like optional arguments in JavaScript
scripting?

Thank you very much and I'm very sorry if these questions have already been
asked millions of times, but I couldn't access the archives.




More information about the fpc-pascal mailing list