急﹗﹗﹗如何將此數組轉成指針來用?謝謝
原procedure mySendData(ComPort:String;bId:Byte;bDatatoSend:array of Byte)
調用時﹕其中bDatatoSend是傳進來一個數組﹐
如﹕toData:array[0..14] of Byte;
現要改成指針.
現﹕procedure mySendData(ComPort:String;bId:Byte;bDatatoSend:PByte;bDatatoSendLength:integer);
問題﹕
toData[0]:=$0b;
toData[1]:=$09;
toData[2]:=$08;
在指針中應該如何表示??