Florian Klaempfl wrote on Tue, 13 Oct 2009:
Show quoted text 5 lines
Jonas Maebe schrieb:
> Only allowing it for pchar/pwidechar, I guess.
Then another person pops up and asks why it is allowed only for
pchar/pwidechar being illogical because this is not orthogonal.
Undoubtedly. I guess the best solution is to have that Delphi switch so everyone can set the behaviour he/she prefers.
Besides the fact that I think that the pointer to array work around
would be really hacking e.g. due to range checking.
You can always do (pointertype+x)^, but I guess that's not acceptable either because it doesn't look very nice. It's more explicit about the intention though, imo.
Jonas
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.