User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22

Thread: comparing numbers

  1. #1
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    comparing numbers

    could someone tell me how mmf2 could decide the highest, or lowest number from a group of numbers.

    i would want an answer with the min and max expressions, and one that doesnt have it.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    Are the numbers recieved from somewhere? Are they just a list?

    Quote Originally Posted by Zabooza
    i would want an answer with the min and max expressions, and one that doesnt have it.
    I think we all would appreciate it worded more like this:
    and if you can i would like to have it use the min and max expressions, and one that doesn't a have it.

    By the way, what does that last bit mean?
    (not for me, I probably can't help you much here, but so other people get your problem and are more willing to help )

  3. #3
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    srry i meant the question to be like this

    how would i decide if a number is the highest out of a grouo of numbers.

    if it possible with min and max expresions?

    the last part was nonsense


  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    California, USA
    Posts
    1,241
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: comparing numbers

    How many values and how are they stored... I can think of a couple ways to do this but need a bit more information.
    DT
    Special Projects Director

  5. #5
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    4 pairs of values

    grouped in 2

    8total values

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    California, USA
    Posts
    1,241
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: comparing numbers

    are they stored in counters, edit boxes, a list object?
    DT
    Special Projects Director

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    OP, if no one has a solution by tomorrow, I'll make you an example. I have to go though so I cant right now.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    EDIT to above:

    I'm not providing an example, but what I would do is test to see if a value is greater than all the other values, and if so, set a string, global value, or whatever you want to set.

  9. #9
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    ok, how would i do that with all 4 values?

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: comparing numbers

    You just repeat it. Here's an example with only 4, not 8:

    Val=value

    If
    ValCounterA > ValCounterB
    ValCounterA > ValCounterC
    ValCounterA > ValCounterD

    Then set string to "Value A is the highest"

    Repeat:

    If
    ValCounterB > ValCounterA
    ValCounterB > ValCounterC
    ValCounterB > ValCounterD

    Then set string to "Value B is the highest"

    See where it's going?
    I dont know if there is a simpler way but this seems logical to me.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. string comparing
    By felinex in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th April 2018, 03:38 PM
  2. Random Numbers and expiring the result numbers.
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th April 2013, 04:11 PM
  3. Bug? Comparing counter to zero
    By assentec in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th December 2012, 06:35 AM
  4. Comparing INI++ Information
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th May 2012, 08:03 AM

Posting Permissions

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