Am 2017-04-12 um 16:36 schrieb Ryan Joseph:
> Why magic? It seems silly the operator += doesn’t exist

Well, are we using Pascal or C? ;-)


> or even a basic operation set like “add”, “remove”, “insert” that every array 
implementation in every language has.
> Aren’t those just function around the existing dynamic array implementation 
in the compiler?

I aggree that these functions could be added.
I always create such functions myself but I need to
respect the type of my arrays and rewrite these functions
for each new type.
If they were available as standard routines it would avoid these rewrites.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to