When using pchars, what happens when one does this:

function test(const input: pchar): integer;

Is this a pointer to a pchar? Or is it just a pchar?

i.e. below is bad:
function test(var input: pchar): integer;


So what about a const pchar paramater... Is it a read only pchar, or a read only
pointer to a pchar?


--
L505

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to