[Lazarus] SEGFAULT: difference between pointer and dynarray?
xrfang
xrfang at gmail.com
Sat Dec 29 08:00:26 CET 2012
Sorry, we are talking about same thing. In my program I am using dynamic array, NOT static, but the assembly is same. In leledumbo's example, the assembly is differnt.
在 六, 12月 29, 2012 at 2:55 下午,Hans-Peter Diettrich <DrDiettrich1 at aol.com> 写道:
leledumbo schrieb:
>> The Assembler shows that @lib and @lib[0] are exactly same thing.
That's true for static arrays.
> The following program shows that they are NOT the same
That's true for dynamic (managed) arrays.
You're talking about different array types.
DoDi
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121229/fa23821f/attachment-0003.html>
More information about the Lazarus
mailing list