[Lazarus] Unpack of PHP

ik idokan at gmail.com
Mon Feb 4 12:48:30 CET 2013


On Mon, Feb 4, 2013 at 1:34 PM, silvioprog <silvioprog at gmail.com> wrote:
> Hello,
>
> In FPC, I'm trying to load a ASCII content and onvert it to integer, but,
> without success. In PHP I do it easily.
>
> I send two files in attached:
>
> 1. php - demo in PHP working fine (the demo uses unpack function:
> http://www.php.net/manual/en/function.unpack.php);
> 2. fpc - demo in FPC partially implemented;
>
> So, how to do it in FPC?

Take a look at my fp-msgpack[1] (I need to rewrite it, because the way
that array and maps works), but it does exactly what pack and upack
does.

>
> Thank you!
>
> ps. I tried the Unpack function of FPC, but I don't know how to use it.
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog

[1] https://github.com/ik5/fp-msgpack

>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list