[fpc-pascal] How to pass an array of bytes directly in a TBytes param?

silvioprog silvioprog at gmail.com
Sat Feb 20 17:45:41 CET 2016


On Sat, Feb 20, 2016 at 8:39 AM, Nitorami <mneubauer at alice-dsl.net> wrote:

> I would do it like this
>   test(TBytes.Create (65, 66, 67));


Awesome. It compiles and works, thank you! :-)

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160220/c0bc5db5/attachment.html>


More information about the fpc-pascal mailing list