Hi all,
I while ago I wanted to make an array which I could
access with an integer to get a pchar, but I couldnt
get it to work (I have already solved this, but I still
think my original thought should have worked).
This is what I tried:
var Letters: array[0..25] of PChar = ['A'..'Z'];
Why didnt it work like this ??? I looked it up in the
help and it said it could be done, but all I get is an
error saying that TArray and Set are not compatible ...
Thanks allot,
BobbaFet ![[bobafett] [bobafett] [bobafett]](/data/assets/smilies/bobafett.gif)
Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
I while ago I wanted to make an array which I could
access with an integer to get a pchar, but I couldnt
get it to work (I have already solved this, but I still
think my original thought should have worked).
This is what I tried:
var Letters: array[0..25] of PChar = ['A'..'Z'];
Why didnt it work like this ??? I looked it up in the
help and it said it could be done, but all I get is an
error saying that TArray and Set are not compatible ...
Thanks allot,
![[bobafett] [bobafett] [bobafett]](/data/assets/smilies/bobafett.gif)
![[bobafett] [bobafett] [bobafett]](/data/assets/smilies/bobafett.gif)
Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com