2 Replies Latest reply on Jun 1, 2009 2:20 PM by Mike Blaustein

    How to: Find the highest value of 1 of 7 text members:

    MAC800 Level 1

      First off using D11

      Using Windows XP

       

       

      How do you write a script that asks to find the highest value of a group of text members

      Lets call the text members

       

      shoppinglist1

      shoppinglist2

      shoppinglist3

      shoppinglist4

      shoppinglist5

      shoppinglist6

      shoppinglist7

       

      Since the value of any of the above could change during the movie. how do you write a script to find the max value? and put that max value into a text member called "bestvalue'

       

      Would you use a if statement?

       

       

       

      I saw a dean director tutorial with the following

       

      MMList = ["Jack":95, "Jill":50, "Peter":65, "Sarah":75]

       

      Can you write that with text members instead ?

       

      MMList = [text of member("shoppinglist1",text of member("shoppinglist2",...etc]