Re: Phix language
- Posted by mattlewis (admin) Nov 30, 2011
- 1957 views
petelomax said...
Elsewhere, dword-sequences can be used in place of strings, eg
open_dll("kernel32.dll") open_dll({'k','e','r','n','e','l','3','2','.','d','l','l'})
behave the same though the later automatically does the same sort of "pack" that OpenEu must be doing.
Yes, anything that ends up going to an external C func gets run through MakeCString, which basically truncates the data down to a char (from a 31-bit integer, 63-bit integer, 64-bit floating point or 80-bit floating point, depending on the platform and the data).
Matt