Accessing bits of an array element


Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Aug 2003
    Posts
    985

    Default Accessing bits of an array element

    Currently, this doesn't work:
    Arrayelement[0].bit5 = 0

    You can create aliases for every array element
    and access bits from there, but you can't do it
    in a loop because the bit number can't be
    a variable, and when you're accessing aliases,
    neither can the array index.

    One or the other would be an improvement.
    Last edited by Art; - 3rd March 2012 at 05:50.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts