Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Sven Barth
Am 13.11.2013 11:32, schrieb Frederic Da Vitoria: 2013/11/13 Sven Barth > Am 13.11.2013 11:07, schrieb Frederic Da Vitoria: 2013/11/13 Rainer Stratmann mailto:rainerstratm...@t-online.de>> On Wednesday 13 November 2013 10:52:23 you wrote:

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Frederic Da Vitoria
2013/11/13 Sven Barth > Am 13.11.2013 11:07, schrieb Frederic Da Vitoria: > > 2013/11/13 Rainer Stratmann > >> On Wednesday 13 November 2013 10:52:23 you wrote: >> > 2013/11/13 Rainer Stratmann >> > > Is there a description of the behaviour of const and var in this case? >> > > Why is it not

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Sven Barth
Am 13.11.2013 11:07, schrieb Frederic Da Vitoria: 2013/11/13 Rainer Stratmann > On Wednesday 13 November 2013 10:52:23 you wrote: > 2013/11/13 Rainer Stratmann mailto:rainerstratm...@t-online.de>> > > Is there a description of the behaviour of con

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Frederic Da Vitoria
2013/11/13 Rainer Stratmann > On Wednesday 13 November 2013 10:52:23 you wrote: > > 2013/11/13 Rainer Stratmann > > > Is there a description of the behaviour of const and var in this case? > > > Why is it not both const or both var? > > > > "source" is where the data "comes from", so the proced

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Rainer Stratmann
On Wednesday 13 November 2013 10:52:23 you wrote: > 2013/11/13 Rainer Stratmann > > Is there a description of the behaviour of const and var in this case? > > Why is it not both const or both var? > > "source" is where the data "comes from", so the procedure won't modify it > (if there is no mem

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Frederic Da Vitoria
2013/11/13 Rainer Stratmann > On Wednesday 13 November 2013 09:39:27 you wrote: > > > > Move (S^, D^, L) > > > > should do it. > > > > Tomas > > Yes, thanks. > > I am confused with the meaning of > > const source; > > and > > var dest; > > Is there a description of the behaviour of const and var

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Rainer Stratmann
On Wednesday 13 November 2013 09:39:27 you wrote: > > Move (S^, D^, L) > > should do it. > > Tomas Yes, thanks. I am confused with the meaning of const source; and var dest; Is there a description of the behaviour of const and var in this case? Why is it not both const or both var? > >

Re: [fpc-pascal] Move with pointers to memory

2013-11-13 Thread Tomas Hajny
On Wed, November 13, 2013 09:36, Rainer Stratmann wrote: > http://www.freepascal.org/docs-html/rtl/system/move.html > > I have a working function in assembler wich copys a memory block from > sorce to > destination. > > Now I want it to do with the move function from unit system, but it does > not