3 dice random if else questions beginner

Hi all,
I have searched my brain, and the internet for help, to no avail, I cannont find any. I am new to Java Programming. Sometimes I do not understand my instructor, he confuses me. I have to write a small program that includes tossing 3 dice. any pair is 100, any 3 of a kind (except 6's) is 200, and toss 3 sixes to get 300. I can get my code to work, but not correctly. I've tried the && and ||(or) when the ||(or) is used, for pairs, 3 of a kinds are paid 100. Is this confusing?
I guess...
if ((die1 == die2) && (die2 == die3) && (die1 == die3)) {
resultTextField.setText("Winner 200!");
else {
     resultTextField.setText("Try again?");
This works great. but, when I try other ways say with the ||(or)
it throws everything off
I'm stumped, maybe I have logic block or something.
If any one can help, this would be great.
I'm sure its easy for someone, after all, I'm at the beginning stages.

multipost
http://forum.java.sun.com/thread.jspa?threadID=774839

Similar Messages

  • Adobe Captivate 8 system variable "cpQuizInfoAnswerChoice" is empty for random multiple-choice questions.

    Does anyone run into this problem when capturing the user answer for a random question slide? Adobe Captivate 8 system variable "cpQuizInfoAnswerChoice" is empty for random multiple-choice questions.

    Hi Shriyansh.
    The reason I am interested in capturing the user answers in Submit All situation is that I know after I published the test using SCORM 2004, all the user responses were captured in "cmi.suspend_data" because my test can resume the test to the last exit question in the middle. However, when I looked at the suspend data value, I have a hard time to understand the pattern and pick out the meaningful user question responses data. I really need help from you to understand how the suspend data value was constructed and how to parse this data. Another area I thought it's easy to get the user question responses data is the interaction records, but I always got only one question (the last randomly sampled question) interaction record. See the following generated XML SCORM 2004 4th edition data. Could you help me figure out how to interpret the following suspend data to get the users responses to each test question?  And why I only got one question interaction record? Thanks again for your help, Zhuoran.
    <ArrayOfKeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.success_status</Key>
      <Value>failed</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.completion_status</Key>
      <Value>completed</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.exit</Key>
      <Value>suspend</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.mode</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.suspend_data</Key>
      <Value>M1A%24nP1A%24nP1FPool1B1FPool2A1FPool3A1FPool4B1FPool5B1FPool6B1FPool7A1FPool8B1FP ool9A1GPool10A1A%24nP000BB0100C11KCA%7E%24nU*9aAlO%7E%24nU*3eOlO1000B00AEAH0%3B1%3B2%3B3BA B0B0BBB0B0BCB0B1BDB1B0DB%7E%24nU*-EBlO%7E%24nU*YoOlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B1BC B0B0BDB1B0EC%7E%24nU*flBlO%7E%24nU*IyOlO1010B00KEAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B0BDB1B1FD %7E%24nU*nWMlO%7E%24nU*kRPlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B1BCB0B0BDB1B0GE%7E%24nU*kRP lO%7E%24nU*arPlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B1BDB1B0HF%7E%24nU*arPlO%7E%24nU*c HQlO1000B00AEAH0%3B1%3B2%3B3BAB0B1BBB0B0BCB0B0BDB1B0IG%7E%24nU*cHQlO%7E%24nU*kfQlO1010B00K EAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B0BDB1B1JH%7E%24nU*kfQlO%7E%24nU*74QlO1010B00KEAH0%3B1%3B2 %3B3BAB0B0BBB0B0BCB0B0BDB1B1KI%7E%24nU*74QlO%7E%24nU*IYRlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BB B0B1BCB0B0BDB1B0LJ%7E%24nU*IYRlO%7E%24nU*aHSlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B1BD B1B00PNvar_ToggleTOCBAPvar_ToggleAudioBAEv_S1BAEv_S2BAEv_S3BAEv_S4BASv_completionStatusBAP v_successStatusBAKv_locationBAFv_scoADls3NreturnMessageBAHv_scoreBAOv_scorePercentBAPv_cur rentChoiceBAPv_stringChoicesBA</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.entry</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.location</Key>
      <Value>Posttest%20Results</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.launch_data</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.learner_name</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions._count</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.id</Key>
      <Value>LSQ19C</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.type</Key>
      <Value>choice</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.learner_response</Key>
      <Value>The_vehicle_is_under_warranty_for_the_life_of_the_lease</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.result</Key>
      <Value>incorrect</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.correct_responses.0.pattern</Key>
      <Value>Genuine_Subaru_Accessories_can_be_residualized_as_a_part_of_the_lease</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.description</Key>
      <Value>What is one feature of a Subaru Motors Finance lease?</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.weighting</Key>
      <Value>10</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.latency</Key>
      <Value>PT3S</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.objectives.0.id</Key>
      <Value>Quiz_2014924125021</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.timestamp</Key>
      <Value>2014-11-20T13:02:01.0-06</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.raw</Key>
      <Value>30</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.max</Key>
      <Value>100</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.min</Key>
      <Value>0</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.scaled</Key>
      <Value>0.3</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.session_time</Key>
      <Value>PT31.99S</Value>
      </KeyValueOfstringstring>
    </ArrayOfKeyValueOfstringstring>

  • JS for randomizing tiered quiz questions?

    Alright noble edge users out there - I could really use your help:
    I am creating a quiz in edge with 10 levels - each level asks a question dealing with a particular topic for that level.  To make it more challenging/random, I want to allow each level's question to pull from a pool of 2-3 possible questions for that particular level (rather than one general pool for all 10 questions).
    I have created symbols out of each question - and played with a few randomizing options - but I am a tragically front-end designer
    Any help is greatly appreciate!

    A lot of that depends on how you've structured your game. Hopefully someone can add to this, but If you're wanting to stick mostly to coding from the timeline in edge animate, then you could do something like this:
    1) Insert a timeline label at the location of each question.
    2) Insert a timeline trigger at the beginning of your animation to create global array that contains the names of each timeline label for your questions. Something like this:
         window.possible_questions = ["Timeline Label 1","Timeline Label 1","Timeline Label 1","Timeline Label 1"];
    3) After you create the possibleQuestions array you can then send the user to the first random question by generating a random array index within the range of the remaining questions using something like this:
         //generate random index
         var random_index = Math.floor(Math.random() * possible_questions.length);
         //store the next question label
         var next_question = possible_questions[random_index];
         //remove the label from the array so we don't come back to it again
         possible_questions.splice(random_index, 1);
         //send the player to that label
         sym.stop(next_question);
    4) At each question, put something like this. If you want to detect the end of the game you can do that as well:
         if(possible_questions.length == 0){
              //game is done
              sym.stop("End of Game Timeline Label");
         }else{
              //we have more questions to ask
              //generate random index
              var random_index = Math.floor(Math.random() * possible_questions.length);
              //store the next question label
              var next_question = possible_questions[random_index];
              //remove the label from the array so we don't come back to it again
              possible_questions.splice(random_index, 1);
              //send the player to that label
              sym.stop(next_question);

  • What do you do with a group of random pics + general questions

    I am a potential new user of iPhoto 6 and Mac. I have been reading through the hundreds of threads for iPhoto. I have a collection of over 12000 images (some on a pc, some on cd, and others on floppy). I have yet to get the entire catalog organized to date even with several attempts. I hope the Mac would solve all my troubles so I am holding off any further cataloging.
    On to my question - I usually take random photos of my kids or outdoors or otherwise, along with a full larger set of photos from a day outing. The first few wouldnt be album criteria in and of themselves, but the full set would (i.e. Day at the Museum). I wonder how this type of shooting is handled as far as organizing with the roll/album features in iPhoto6.
    Also, isn't anyone really concerned about the lack of IPTC support in iPhoto? I currently use Elements 4.0 and the Organizer is fantastic (although hated by others). I personally find it very useful to have all my photos saved in folders by import date. I cant grasp the idea of how to get roll# from this to import into iPhoto.
    I would hope to find a Mac program that supports the use of photo captions and keywords. It doesnt appear that iPhoto is it. Is it? Does it also support PSD files? I am trying to understand the process on how the file copies/moves/edits files upon import too. It is hard to imagine the process when I dont have it yet (but may within a couple months)!
    I am sure I have many more questions to come, but I'll start with this if someone would be so kind to give me information. I have hunted for specifics and find only very simple how to steps.

    photobug:
    Welcome to the Apple Discussions.
    personally find it very useful to have all my photos saved in folders by import date.
    iPhoto will create a roll for each folder imported and name that roll the same as the folder. However, the date on the roll may not match the capture date of your photos but instead reflect the latest modification date in the bunch. You can change the roll date so that it lists correctly chronologically.
    iPhoto also supports Photoshop files, psd. You can also edit your photo from within iPhoto with PS. Just go into iPhoto's preferences General pane and select Photoshop in the Edit photo in: menu. Now when you double click on a photo PS will open it and you can edit. There is one caveat, however. If you edit a jpg file and create a layered image file or one that required the psd extension you must save it to the desktop and then import as a new file. Once imported as a psd file, you can edit it again without issue, layers or not.
    If you're interested in maintaining your source files outside of iPhoto you can use iPhoto's alias method (see the Advanced section of iPhoto's preferences) and just have iPhoto use alias files instead of copying the full file into it's library folder system. This way you can have your source files on an external drive and only the library folder on your boot drive. I have 27G of photos on my second drive and a 1.7G library on my boot drive. If you have a laptop and want to take it traveling you'll be able to view thumbnails, create and delete albums, add comments and, with some aggravation, add keywords. You cannot do anything that will require the full image file, edit, slideshows, books, etc. Once the external HD is remounted the library will be fully functional again. I've create a Tutorial to assist users in converting over to the alias system. Good luck.

  • Random-non-apple-question     ADOBE LIGHT ROOM?

    ...a random question for anyone that uses adobe light room... when i go to import cannon raw files it imports as colour and then after they 'render preview' they turn black and white...
    i's so fustrating!
    no presets are on and i reset the settings...
    no other format of picture does this.
    it dosent matter how i import the files, it still turns black and white.
    if anyone could help that would be awsome

    lucas2 I would suggest you go to the Mac forum at Adobe.
    lechtmmgg

  • IF Then Else question in PL/SQL script

    Hi guys, this will be an easy one for most of you. I'm just looking for advice on the most efficient way of doing this. I have 15 fields where I need to check that the value doesn't equal a group of values. For example, NG,NA, NOT KNOWN etc. If the fields are equal to any of these values I want the variable set to null so a blank space is printed out.
    I've started of doing it like:
    IF v_service_request_id IN ('Not Given', 'NG') THEN
    v_service_add_last_name := NULL;
    END IF;
    but I'm just wondering if this is the best way to do it? At this rate, I'm going to have this piece of code in 15 times, once for each variable. Would I be more efficient using case statements or some other function?
    Also, where it says IN ('Not Given', 'NG') this is just an example of the values I'm checking for. In reality there's around 30. Is there any way I could put these values into some sort of stored list and then just say:
    IF v_service_request_id IN (some_stored_list) THEN
    v_service_add_last_name := NULL;
    END IF;
    Thanks everyone, I'd appreciate any help.
    Ian

    Assuming the list of 30 values id the same for all fields, then another alternative would be to create a function in the same package to do the test. Something like:
    CREATE PACKAGE p AS
       PROCEDURE my_main_proc (p_pam1 IN NUMBER, p_pam2 IN VARCHAR2);
    END;
    CREATE PACKAGE BODY p AS
       FUNCTION test_values (p_val IN VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
       IF p_val IN ('Not Given', 'NG', 'NA', 'Unknown') THEN
          RETURN NULL;
       ELSE
          RETURN p_val;
       END IF;
    END;
    PROCEDURE my_main_proc (p_pam1 IN NUMBER, p_pam2 IN VARCHAR2) IS
    << Declare local variables >>
    BEGIN
       << get records >>
       v_service_add_last_name := test_values(v_service_request_id);
       v_other_field := test_values(v_other_id);
    END;
    END;You still need to maintain the list in the function, but only in one place.
    HTH
    John

  • File adapter questions (beginner)

    Hi everyone,
    I two questions on two topics about file adapter.
    1. I have set up a File adapter for a CSV file to be the input file of my process. Now I would like to have an XML file as the input file, but the content is always ignored.
    here is the XSD :
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Employees" xmlns="urn:Employees">
    <xs:element name="Employee" type="EmployeeType"/>
    <xs:simpleType name="InitialType">
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AgeType">
    <xs:restriction base="xs:integer">
    <xs:minInclusive value="18"/>
    <xs:maxInclusive value="50"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="EmployeeType">
    <xs:sequence>
    <xs:element name="EmployeeID" type="xs:string"/>
    <xs:element name="FirstName" type="xs:string"/>
    <xs:element name="MiddleInitial" type="InitialType"/>
    <xs:element name="LastName" type="xs:string"/>
    <xs:element name="age" type="AgeType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    And now the sample XML file :
    <?xml version="1.0" standalone="yes"?>
    <Employees>
    <Employee>
    <EmployeeID>1</EmployeeID>
    <FirstName>John</FirstName>
    <MiddleInitial>N</MiddleInitial>
    <LastName>Smith</LastName>
    <age>24</age>
    </Employee>
    <Employees>
    How can I do that ? Do I need the Oracle XML Gateway ?
    2. In the BPEL console, I can trace the successfull processes. Alright ... But when I put in a file with the wrong format (eg: missing fields), the process does not even appear in the console. How can I trace them ? (completionPersistPolicy is "on").
    Thank you :)

    I'm interested in 2 question (missing fields) too.
    Ema

  • Random library shuffle Question

    Is there a way to "force" the library to be played all the way through, randomly, before repeating? On my laptop 273 songs have been played more the once while 799 songs been played once leaving 1957 songs that have not been played at all. I'm hoping not to hear the same song twice until I cycled through the whole library. I know that only 273 songs were played more then once but it just sounds to me that I'm hearing the same handful of songs over and over again.
    Any help would be appreciated.
    Thanks'
    jr
    Latitude D610   Windows XP Pro  

    Yes.
    Create a Smart Playlist with the condition of 'playcount' is 'zero' or 'less than 1' or whatever you need. Also check 'live updating' so the playlist will continually remove any song that is fully played.
    Use that Playlist in shuffle mode, rather than the Library, or direct the Party Shuffle to use that playlist.
    As you get to higher playcounts for songs in your library, you may need to adjust the constraints.
    Or, you could reset all playcounts to '0' once you have heard them all and continue on...
    Several ways to skin that cat...

  • Design questions - beginner

    Hello,
    I'm just getting started with BDB XML and the resources here have been very helpful. To play around with it, I imported 100,000 records from my relational db into BDB XML. I imported it as one document that sort of looks like this:
    <people>
    <person><name>John></name><age>22</age></person>
    <person>..</person>
    ...100k times
    </people>
    Querying this database using dbxml.exe has been extremely slow, even after using indexes. So, I have the following questions:
    1. Should I import it has a single document containing 100k children, or is it better to import it as 100k different documents?
    2. Are there any resources available for best practices in designing the XML database, especially from the PoV of a relational database designer?
    Thanks
    Amit

    Amit,
    Using the correct indexes and release 2.3.10 your performance should be reasonably good even with a single, large document. In general, it can be better to use individual documents, especially if you want to add/remove them individually. If there is no need to keep them as one document, I'd recommend using separate documents.
    Also, if you want better answers on tuning queries, you need to provide more information, such as the indexes you've declared and the queries you are using.
    Regards,
    George

  • Bean confusion - questions - beginner

    jsp A
    <jsp:useBean id="searchHeaders" scope="session" class="database.Tool"/>
    <p><c:out value="${searchHeaders.searchHeaderMap}"/> // This shows my bean info
    <p><a href="/<c:out value="${param.newID}"/>/searchTooling.jsp?newID=<c:out value="${param.newID}"/>">Tool Lookup </a>Quick Background
    When a user clicks on the above link they are taken to a form with two input fields where they can search by an asset number or a serial number. However, depending on what site they are on - the wording might be different - asset number might be called quality number or something else.
    <jsp:useBean id="searchHeaders" scope="session" class="database.Tool"/> 
    <c:forEach var="i" items="${searchHeaders.searchHeaderMap}" varStatus="status">
              <c:forEach var="h" items="${i.key}" varStatus="status">
                  <c:choose>
                  <c:when test='${(i.key) <= "2"}'>
                      <c:forEach var="d" items="${i.value}" varStatus="status">
                      <td><c:out value="${d}"/><INPUT TYPE='text' NAME='<c:out value="${d}"/>' SIZE='30'></td> 
                   </c:forEach>     
                  </c:when>
                  </c:choose>
              </c:forEach>
              </c:forEach>My problem is that jsp A has the bean information showing but once I click on a link the bean information doesnt show until I submit the form on jsp B( which forwards back to jsp B through servlet). I thought that once I called the bean and put it in a session scope I would be able to use it/call it until I expired the session...
    How can I share a bean between two jsp's without using a form?

    First of all - sorry if my terms dont make sense - still new and learning. I dont understand what you are asking me..
    Here is the servlet that is calling/creating the bean
    public class tooling_index extends HttpServlet {
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            DataFactory dbf = DataFactory.getDataFactory(DataFactory.sybase);
            ToolSearchInformation searchInfo = dbf.getToolSearchInformation();
            Tool searchHeaders = searchInfo.findSearchTableHeaders(newID);
            request.setAttribute("searchHeaders", searchHeaders);
            RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/index.jsp?newID="+ newID);
            dispatcher.forward(request, response);
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            doGet(request, response);
    }This forwards to my jsp A. Is this what you are asking ?

  • If else question.

    Hello,
    public void register() throws SQLException{
         try {
            databaseConnection();
            PreparedStatement ps = con.prepareStatement("INSERT INTO reservation(ci,co,roomno,numb,roomty,nm,srn,phn,mail,sex)" +
                    "VALUES (?,?,?,?,?,?,?,?,?,?)");
                    ps.setString(1,ci);
                    ps.setString(2, co);
                    ps.setInt(3, roomno);
                    ps.setString(6, nm);
                    ps.setString(5, roomty);
                    ps.setString(10, sex);
                    ps.setString(8, phn);
                    ps.setString(9, mail);
                    ps.setString(4, numb);
                    ps.setString(7, srn);
                    ps.executeUpdate();
                    JOptionPane.showMessageDialog(null,"Completed");
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null," PLsss....");
        finally{
                        con.close();
                        stm.close();
    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
         String ent=jTextField3.getText();
         String out=jTextField4.getText();
         String name=jTextField5.getText();
         String surn=jTextField8.getText();
         String phn=jTextField6.getText();
         String mail=jTextField7.getText();
        if(name.isEmpty() && surn.isEmpty() && phn.isEmpty() && mail.isEmpty() && ent.isEmpty() && out.isEmpty()){
            JOptionPane.showMessageDialog(null,"Fill it..");
          else {
                try {
                    register();
                    new Check_IN();
                } catch (SQLException ex) {
                    Logger.getLogger(Check_IN.class.getName()).log(Level.SEVERE, null, ex);
    }Here the fields are empty however register() is done. I use AND as logical operator but it behaves like OR. even one is filled then pass the register(). moreover in register method all fields should me filled otherwise throw message but it is done without any problem.
    and at the and of register() I like to back to page with "new Check_IN();" I can t do it either.
    how register() is run without complete if condition ?

    hibrahimdogru wrote:
    Thank you jverd
    how about "new Check_In();"
    I like to back to page after complete register() why it doens t open the page again?What about Check_In()? We know nothing about that class.
    How would we know about why it doesn't "open the page again" based on the code you posted so far?
    >
    and I was expect error with register(), how the values pass as null in preparedstatement ? why it doens t throw nullpointerexception ?They aren't null, they are such that the isEmpty() method returned true, so it is dealing with the String value "", not null.
    Edit: Actually I'm not sure what the values of the variables in that method are, because you also have a scoping issue. One method declares those variables and sets them, and then you're invoking another method without passing them to it. So I guess you have class variables and it is using those instead.
    This code is a complete mess.

  • IMac randomly shows flashing question mark

    Hi -
    Today, my 2007 20" iMac suddenly froze. I wasn't doing anything hardware-intensive. I shut it off, and when I turned it back on, I was greeted by a flashing question mark. I already tried all the steps in this document to no avail. The only one I didn't try was the startup partition, as this is an older iMac. I did try slipping in a Snow Leopard disk and launching Disk Utility. The hard drive didn't appear. Are there any further steps I can take? I'd rather not take it to a repair shop and lose it for a week. Thanks!

    The hard disk is damaged. The question mark means that the Mac can't find any bootable partitions, and in most of the cases, it means that your hard disk is damaged. You have confirmed this saying that Disk Utility doesn't recognize the disk.
    If you don't want to take the iMac to an Apple Store or reseller, you can replace the hard disk yourself following iFixit steps > http://www.ifixit.com/Guide/iMac+Intel+20-Inch+EMC+2133+and+2210+Hard+Drive+Repl acement/1008/1 Also, you can buy the hard disk in iFixit or you can look for a hard drive in OWC > http://eshop.macsales.com/shop/hard-drives/3.5-SerialATA/

  • Formula If/Then/Else question

    Hello all,
      I am using the following formula to read one value (valuation price), and if it = 0, then display the value of another field (moving price), if <> 0, then display that field (valuation price). 
    ( 'Valuation Price' == 0 ) * 'Moving Price' + ( 'Valuation Price' <> 0 ) * 'Valuation Price'
    However, only the first part of the evaluation returns a value, ie only the rows that have a valuation price =0.  If I reverse the order, it does the same thing, almost like it won't evaluate the "else" part of the evaluation.
    If anyone see's something obvious I would appreciate your input.  I have read the help file and done some searching but have found nothing relevant.  
    Thanks for any help
    Bill Coombs

    Bill, change your formula to
    ( NODIM('Valuation Price')== 0 ) * NODIM('Moving Price') + ( NODIM('Valuation Price') <> 0 ) * NODIM('Valuation Price')
    Hope this works.
    -KRREDDY

  • Special effect question - beginner

    I am a beginner at video editing.  In fact, I have never edited a video before.  My kids have a video with a wizard wand and want to have a lightning bolt come out of it and we can insert items to look like they created with magic.  Is this something this software can do?  Are there "stock" flash lightning bolts etc?  I am looking for a product to purchase that I will be able to figure out easy or get assistance.
    Thanks

    Hi braxpark,
    After Effects would be the place to add the lightning bolt effect to your video in Premiere Pro.
    The two products work together easily: How to work on After Effects projects in Premiere Pro (and vice-versa) | Adobe Premiere Pro CC tutorials
    Regarding the effect you're interested in, you can learn more here:
    Effects info here: http://helpx.adobe.com/after-effects/using/generate-effects.html#advanced_lightning_effect
    Lightning effect tutorial: http://www.videocopilot.net/tutorial/lightning_strike/
    Search Google on "lightning effect after effects" for more possibilities.
    Hope this helps!
    Stefan

  • Random Weight Product Question

    Hi All
    Do you know of any user exit that we can use in every movement in the Inventory Management (should cover all manual as well as automatic movements as well as custom movement types), so that for certain random weighted products, we can ask the user to enter Actual Qty in alternate Unit of measure (std SAP only stores the qty in base UOM) and then we store that information in a Z table to keep track of Qty in alternate UOM for each SKU/ Batch in a plant/ sloc.
    With every goods movement for these random weight products, we then either add or subtract the Qty in alternate UOM (based on the movement type) to keep the qty in the alternate UOM accurate.
    This is required because the nature of random weighted products is such that each piece can weigh differently eg 1 leg of ham can weigh 10Kg but another can weigh 11Kg and another may be 9 Kg. In mat master we can only store one fixed conversion factor between base UOM and alternate UOM. (perhaps 10 kG = 1each). Our base UOM is Kg and alternate UOM is Each. We want to do ATP in sales orders based on Each, delivery picking in each, but charge customer based on $ per Kg.
    This is so that we have clear cut visibility of the stock in alternate UOM as well (std SAP updates stock in base UOM correctly but only shows the stock in alternate UOM based on nominal conversion factor from material master). We will use one of the product attributes in material master to indicate that the product is random weight product.
    We are on ECC6 and are not contemplating using catch weight management at this stage as it may be 6 month project by itself and trying to see if we can do some customisations for random weight products.
    Thanks
    Subodh Deshpande

    Why dont you use "Batch specific units of measure"  functionality?
    here you can define a "Product unit" . this wil take care of your stocks per batch in Alternate Uom as well.
    In every first  goods receipt of a batch  ( external or inhouse )  you will have to give the qty in AUM w.r.t Base unit :
    eg: Material M1 ,  base unit KG   , AUM : BAG
    Batch1 : 2 BAGs @ 3 KG per Bag .
    Batch2:  2 BAGs @ 5 KG per Bag .
    Now if you issue 1 BAG from Batch1 , system will reduce Stock by 3KG.
    you can also see batch wise stocks in AUM (with batch specific conversion factor)  in BMBC report.
    you can also develop some report with the help of batch characteristic values for Mass display of stocks in AUM.

Maybe you are looking for

  • Different cpuspeednw on two different hosts with same cpu config. Why?

    Hi, there are two hosts. They are different, but have same CPU configuration (I guess it from the output below). Host1: Solaris 10, 4 cpu, 4 core in each cpu. psrinfo -v Status of virtual processor 0 as of: 03/04/2010 08:57:45 on-line since 12/25/200

  • AME CS6 rendering with AE and Pr takes too long

    Hi Guys, Need some help here. i have rendered a 30 secs mp4 video with 1920 x 1080 HD format 25 frames w/o scripting in AME for 4 hours! Why does it take too long? I have rendered a 2 minute video with same format w/ scripting but only spare less tha

  • 30GB Video freezing and skipping

    When I am running on the treadmill with my black 30GB video attached to my shorts my iPod skips and freezes. I can start a song before I begin running, but after I start running if I try to change the song it will not play the next song until I hold

  • CG3Z working not open dataset for output

    Hi, I am trying to upload data into the application server for which m using the OPEN DATASET statement. My file name is as follows in lowercase. p_file = '/usr/upi/out/test_20100220.dat'. TYPE c. While trying to execute this i am getting a short dum

  • Experiencing a similar issue as user malaya10 on an early 2008 macbook

    User malaya10 posted a thread about an issue she was having installing Adobe AIR.  I am experiencing the exact same problem and am curious as to wether a solution has been found.