delphi - what is difference between pchar and pbyte -


Why can not I do this task:

  var data: pbyte; X: int64; O: indicator; O Start: = Data + X; End; PCER is an indicator for all but it gets special support from the compiler. Indicative arithmetic PByte is just a plain old typing pointer to make C-like string manipulans easier in Delphi, and does not receive any special attention from the compiler, so that pointer is arithmetic. 

In Delphi 2009, ($ POINTERMATH ON / OFF) which allows you to add compiler support, pointer arithmetic for your own Pointer Type declarations.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -