SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Oct 1999
    Location
    Tyngsborough, MA
    Posts
    211
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Does Silk have Exclusive OR ?

    From the help...

    Bitwise exclusive OR ^ Sets to 1 each bit position where the operands have different bits, and sets to 0 each bit position where the operands have the same bits.

    Always check the help first.

    ------------------

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    128
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Does Silk have Exclusive OR ?

    Actually, I did have a look at the help,
    but was not sure how to put it into the code.
    I would like to use it something like this:

    a = c EXOR a = b

    Hope I am clear.
    quality - a way of life!

  3. #3
    Senior Member
    Join Date
    Oct 1999
    Location
    Tyngsborough, MA
    Posts
    211
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Does Silk have Exclusive OR ?

    try a few examples...

    honestly, it wasn't clear to me what you are trying to do. Are you trying to create a logical expression? if so, I think you'll have to fudge it on your own.


    ------------------

  4. #4
    Member
    Join Date
    Oct 2001
    Posts
    128
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Does Silk have Exclusive OR ?

    If anyone has used 'Exclusive OR' with Silk scripting, do advise .

    Thanks.


    ------------------
    quality - a way of life!
    quality - a way of life!

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Does Silk have Exclusive OR ?

    i'd just code it.

    pseudocode:
    if a = c & a = b FALSE
    else if a = c | a = b TRUE
    else FALSE

    ------------------

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:58 AM.

Copyright BetaSoft Inc.