User Tag List

Results 1 to 3 of 3

Thread: Flag and arrays expression help

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flag and arrays expression help

    I have an array with 30 values stored, they can be 0 or 1. I need these values to be loaded and then compared,

    Array 1,1 -->if = 0, turn ON flag 1 of "Active".

    Array 1,2 -->if = 1, turn OFF flag 2 of "Active".

    and this should go up to 30 values, turning on or off 30 flags.

    I could assign the 0 or 1 value to an alterable value, but I'd be limited to the number of Alterable values of this object, and impossible to manage over 30 values.

    So the question is, what's the best way to handle this?
    edit: The best way to handle this using an expression, if possible. I've found a workaround with DataStore2 object but if it could be handled without extension it would be good. It it's not possible, I guess I can live with it. Thanks.


    Thanks

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flag and arrays expression help

    You can try using Bitflags, there is an Article in the Articles section of the forums explaining how. Bitflags will allow you to store 32 flags in 1 Alterable Value.

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flag and arrays expression help

    Interesting.. thanks!

Similar Threads

  1. high flag # bug
    By Ahiru in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 4th April 2015, 06:28 AM
  2. [REQ] Set flag by expression
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th April 2013, 07:48 PM
  3. I need more flag
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 23rd January 2012, 06:37 PM
  4. Flag Frenzy
    By Kisguri in forum iOS Released Games & Apps
    Replies: 0
    Last Post: 24th August 2011, 08:03 PM
  5. What is flag?
    By Nyc in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th June 2011, 02:49 PM

Posting Permissions

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