Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Bit level flagging

    Hi Folks

    I'm trying to use a variable as a condition flag and I want to set or clear
    various bits in the variable as certain conditions occur.

    In my dim and distant past I used a language (BBC Basic) that allowed you to
    use booloean functions (AND, OR, NOT, EOR etc) to compare and modify
    variables at a binary/bit level (see the "AND" operator here
    [url]http://www.rtrussell.co.uk/products/bbcbasic/manual[/url] for an example)

    I've had a quick trawl through the PHP manual but can't see any indication
    that there are any built in PHP functions or operators that provide this
    sort of feature although it's possible that I'm not looking under the
    correct names.

    Before I go down the route of writing my own functions to provide these
    features can anyone point me in the direction of any buit in PHP functions
    that would do the job or failing that any user written functions.

    Regards

    -maniax-


    -maniax- Guest

  2. Similar Questions and Discussions

    1. Flagging pages in a secured document
      Hi, Does anyone has a suggestion on how to flag pages in a secure document. I want to be able to look through a 100+ page secure document and...
    2. Preflight flagging color bars as creating different plates
      I love the new Acrobat preflight feature, but I am having trouble getting it to ignore the color bar placed on the page. When I test a black and...
    3. Control Level 0 MC from Level 1 Button?
      "haydenad" <haydenad@qis.net> wrote in message news:c0bfnh$ir1$1@forums.macromedia.com... level apply _level0.gotoAndPlay("Close"); hth
    4. Control Level 0 MC from Level 1 Button?
      This is probably an easy question but how do I control a Movie loaded in level 0 (I want to change frames) from a button that is loaded in Level 1?...
    5. Difficult: Flagging to know if a record is in another file
      I am trying to do the following. I have a database which contains a list of address part of a mailing list. I have a second database where I have...
  3. #2

    Default Re: Bit level flagging

    Hi Again

    Sorry I posted the wrong example link

    Try this one instead

    [url]http://www.cix.co.uk/~rrussell/products/bbcbasic/manual/bbckey1.html#and[/url]

    Regards

    -maniax-


    "-maniax-" <dont.even.think@about.it> wrote in message
    news:GRvLc.526$mO6.231@newsfe2-gui.ntli.net...
    > Hi Folks
    >
    > I'm trying to use a variable as a condition flag and I want to set or
    clear
    > various bits in the variable as certain conditions occur.
    >
    > In my dim and distant past I used a language (BBC Basic) that allowed you
    to
    > use booloean functions (AND, OR, NOT, EOR etc) to compare and modify
    > variables at a binary/bit level (see the "AND" operator here
    > [url]http://www.rtrussell.co.uk/products/bbcbasic/manual[/url] for an example)
    >
    > I've had a quick trawl through the PHP manual but can't see any indication
    > that there are any built in PHP functions or operators that provide this
    > sort of feature although it's possible that I'm not looking under the
    > correct names.
    >
    > Before I go down the route of writing my own functions to provide these
    > features can anyone point me in the direction of any buit in PHP functions
    > that would do the job or failing that any user written functions.
    >
    > Regards
    >
    > -maniax-
    >
    >

    -maniax- Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139