[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pack/Unpack Functions


On Mon, 24 Feb 2025 at 10:33, Justin Percy <justin@xxxxxxxxxxxxxxx> wrote:

> Hi,
>
> I am trying to port over some PHP code to Gambas and really need
> Pack/Unpack functions https://www.php.net/manual/en/function.pack.php
>
> Any help would be appreciated, thanks!
>
> Justin


Possibly using Shell and php -r to run the needed code ?

Shell "php -r 'printf(pack(\"nvc*\", 0x1234, 0x5678, 65, 66));'"

post some examples and maybe we can find a way to do it?

BruceS

References:
Pack/Unpack FunctionsJustin Percy <justin@xxxxxxxxxxxxxxx>