Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 32,247 points

Radeon

Favorite Answers26%
Answers338
  • Javascript array help?

    Need help with this array. It works correctly when I use 2 separately named variables, but when I try and put them in the array, it doesn't work anymore.

    <html>

    <head>

    <title>test</title>

    <SCRIPT>

    function Note(date,time,note) {

    this.date=date;

    this.time=time;

    this.note=note;

    this.view=view;

    }

    function view() {

    with (this) document.write(date+' '+time+' '+note+,'<BR>');

    }

    var noteArray[];

    noteArray[0]=new Note('03/22/10','12:00pm','Text');

    noteArray[1]=new Note('05/22/10','11:00pm','Text and stuff also.');

    noteArray[0].view();

    noteArray[1].view();

    </SCRIPT>

    </head></html>

    It doesn't work with var noteArray=new Array(); either.

    2 AnswersProgramming & Design1 decade ago
  • How do I use prebuilt .jar and .java files in a NetBeans project?

    I'm trying to get these libraries and files into my NetBeans project:

    http://code.google.com/p/aima-java/

    I have the .jar files (in the release folder) added to my library, but how can I add the .java files into the project as sources files. They're under:

    /aima-gui/src/main/java/aima/gui/demo/search

    Those .java files are demos of the search algorithms. I need to compile and run one of them with the aima-core.jar and aima-gui.jar in the class path.

    Neither the readme, NetBeans help, nor Google have given me any assistance. Please help me get this compiled and running!

    PS: I have the latest versions of NetBeans and the JDK.

    1 AnswerProgramming & Design1 decade ago
  • Know any good PC games set in Africa?

    I'm playing through Far Cry 2 for the 3rd time now and it's still entertaining, but I'm looking for some other games that take place in Africa. It's a great setting, yet very under appreciated. Any suggestions?

    PC only. Any genre.

    4 AnswersVideo & Online Games1 decade ago