Forum > General

multi-dimensional open array parameter?

<< < (7/8) > >>

marcov:

--- Quote from: taazz on June 02, 2014, 01:48:44 pm ---.. and this is how dynamic arrays worked before compiler had build in support.

--- End quote ---

For more code like this see e.g. the numlib package.

marcov:

--- Quote from: Blaazen on May 30, 2014, 04:50:58 pm ---You can use dynamic array instead of open:

--- Code: ---type
  TArr: array of array of Integer;
  procedure Qqq(Arr: TArr);
--- End code ---

--- End quote ---

And if you only need N level, open array of dynamic array ? :-) Never tried though.

Leledumbo:

--- Quote from: sean_vn on July 25, 2014, 04:54:51 am ---Telling someone to go implement it themselves in the source code is quite rude and an absurdity.
I think some of the hero members here ought to cool it a little, take a back seat and restrict themselves to wise comments.  I don't think making sport of people who are learning the ins and outs of free pascal is so clever.  If you want to show off then show off among your exact peers.

--- End quote ---
I'm countering his opinion that this is not a big challenge, so I challenge him back to implement. And as I have pointed, it turns out that it's not as easy as he thought. He misses a lot of important implementation details. I always tell that to people who complains about missing features and say that implementing the feature is not difficult but they never touch the compiler source nor they have any idea how to implement. You may think this is rude or absurd, but this is my way to teach people to think before they judge and I find it the most effective way. People with true ability will implement, and those without will be silent. All in all, we have nothing to lose.

typo:
sean_vn, don't worry, in fact all open source projects need people who face the problem of putting the project ahead. Be also you someone who does the things happen on Lazarus Project. Good luck.

marcov:

--- Quote from: Leledumbo on July 25, 2014, 11:12:43 pm ---I'm countering his opinion that this is not a big challenge, so I challenge him back to implement. And as I have pointed, it turns out that it's not as easy as he thought. He misses a lot of important implementation details. I always tell that to people who complains about missing features and say that implementing the feature is not difficult but they never touch the compiler source nor they have any idea how to implement. You may think this is rude or absurd, but this is my way to teach people to think before they judge and I find it the most effective way. People with true ability will implement, and those without will be silent. All in all, we have nothing to lose.

--- End quote ---

I have repeatedly heard the compiler builders call the piece that create the parameters for a procedure/method as the most difficult and sensitive part of the compiler.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version