On Mon, Feb 4, 2013 at 1:34 PM, silvioprog <[email protected]> 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 > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
