|
Posted by Jerry Stuckle on 10/17/07 20:13
Good Man wrote:
> "Bint" <bint@csgs.com> wrote in news:13hco71gbsmmb66@corp.supernews.com:
>
>> I have an array whose elements I'm accessing, like array[0], array[1],
>> etc. However, the data is meant to be 16-bit words, not bytes. I'm
>> getting byte values right now. Is there
>> any way I can tell php that an array is composed of words and not
>> bytes?
>
> Hmm, I think you're a bit confused, or at least I am.
>
> Put whatever you want in the array:
>
> $storeAddress['Kamloops'] = "128 Harry Street";
> $storeAddress['Toronto'] = "2555 Yonge Street";
>
> And what is a 16-bit word?
>
Assembler term - two 8-bit bytes handled as one 16 bit word. And 4
bytes can be handled as a 32 bit DWORD.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|