 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Amir Guest
|
Posted: Sun Aug 10, 2008 3:25 pm Post subject: Pointre Arithmetics |
|
|
I have an array in the memory and I just know the first element of
this array as a variable and its data type, as mentioned in the help
document I should can use the pointers arithmetic capabilities like
addition and subtraction for accessing other elements of my array but
I can't use these functions. for example in this case:
var
P1,P2: PInteger;
begin
New(P1);
P2:= P1 + 1;
end;
the compiler would say " E2015 Operator not applicable to this operand
type "
What is my problem? Is there any way?
Thanks |
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|