Re: Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-05-05 Thread Andrew Brunner
> Constants (values) or variable values (variables). Let's not forget assignable constants that must be typed :-) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-05-05 Thread José Mejuto
Hello FPC-Pascal, Wednesday, May 5, 2010, 10:49:24 AM, you wrote: >> In computer science, an array data structure or simply array is a >> data structure consisting of a collection of elements (values or >> variables) [...] s> ??? s> What does this mean? As far as I know, "variable" in CS can s> h

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-05-05 Thread José Mejuto
Hello FPC-Pascal, Wednesday, May 5, 2010, 8:54:01 AM, you wrote: >> architectures. Much better would be "move >> (array1[0],array2[0],elements*sizeof(element))" but even in this case >> the result is undefined, but it is a bit more exact as the programmer GG> Now this is a perfect example, of why

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread José Mejuto
Hello FPC-Pascal, Tuesday, May 4, 2010, 9:41:27 PM, you wrote: M> I have never found anything that says, that an array (not a M> static-array, just an array), always and under any circumstances must M> ensure that the identifier of the whole array is equal to the first M> data-element in the arra

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-04-25 Thread José Mejuto
Hello FPC-Pascal, Sunday, April 25, 2010, 6:29:26 PM, you wrote: >> I think there is a great difference between normal arrays and dynamic ones JH> Yes, but it should not be like that. If you first declare a JH> static array and then decide to make it a dynamic array then *no* JH> code change shou

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-04-25 Thread José Mejuto
Hello FPC-Pascal, Sunday, April 25, 2010, 5:38:48 PM, you wrote: JH> But currently move *does* handle dynamic arrays differently JH> than other procedures. You can use an array as parameter for a JH> function or procedure and it does not matter whether it's dynamic JH> or not. So the identifier m