Inicio > Ingeniería Informática > maop84 > programa de combinaciones de 5 cifras

programa de combinaciones de 5 cifras

Experto:
Usuario:
Fecha: 17/11/2009
Valoración: Categoría: Ingeniería Informática
15/11/2009
arquimidespr, usuario preguntando en Ingeniería Informática
Usuario
Gracias por el programa pero no lo pude correr aqui va lo que muestra
C:\Documents and Settings\xx\Escritorio\ArregloRichy1.java:6: > expected
                  
<scripttype = "text/javascript">
                   C:\Documents and Settings\xx\Escritorio\ArregloRichy1.java:6: illegal start of type 
                 <scripttype = "text/javascript">
                   ArregloRichy1.java:7: <identifier> expected
                  function calcularCombinaciones(input){
                   ArregloRichy1.java:13: ';' expected
                   inputCopy=stripCharactersFromString(inputCopy,inputCopy.charAt(0)));
                   ArregloRichy1.java:17: <identifier> expected
                  function cifrasiguales(stringToSearch,characterToFind){
                  ArregloRichy1.java:17: <identifier> expected
                  function cifrasiguales(stringToSearch,characterToFind){
                  ArregloRichy1.java:20: illegal start of expression
                 for(i=0;<stringToSearch.length>;i++){
                 ArregloRichy1.java:28: ';' expected
                function stripCharactersFromString(stringToStripFrom,characterToStrip);{
                ArregloRichy1.java:28: not a statement
                function stripCharactersFromString(stringToStripFrom,characterToStrip);{
                ArregloRichy1.java:28: ';' expected
                function stripCharactersFromString(stringToStripFrom,characterToStrip);{
                ArregloRichy1.java:28: not a statement
                function stripCharactersFromString(stringToStripFrom,characterToStrip);{
                ArregloRichy1.java:28: ';' expected
               function stripCharactersFromString(stringToStripFrom,characterToStrip);{
               ArregloRichy1.java:35: ';' expected
             function factorial(inputNumber);
             ArregloRichy1.java:35: not a statement
             function factorial(inputNumber);
             ArregloRichy1.java:35: ';' expected
             function factorial(inputNumber);
             ArregloRichy1.java:43: ';' expected
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:43: not a statement
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:43: ';' expected
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:43: not a statement
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:43: ';' expected
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:43: not a statement
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:43: ';' expected
             function clearLista(wordArray, strbase, remainingchars){
             ArregloRichy1.java:60: ';' expected
              function printWordList(wordarray){
             ArregloRichy1.java:60: not a statement
             function printWordList(wordarray){
             ArregloRichy1.java:60: ';' expected
            function printWordList(wordarray){
             ArregloRichy1.java:62: ';' expected
              for(i=0;i<wordArray.length-1i++)
             ArregloRichy1.java:65: ';' expected
              document.combform combinationlist.value=output;
             ArregloRichy1.java:68: ';' expected
              funcion showCombinations(inputText){
             ArregloRichy1.java:68: not a statement
              funcion showCombinations(inputText){
             ArregloRichy1.java:68: ';' expected
              funcion showCombinations(inputText){
            Arreglo richy1.java:75: illegal character: \92
            if(numCombinations<5000\\confirm(confirmMessage))//only do it if the number of    combinations to calculate is low, or the user agrees to the warning
           ArregloRichy1.java:75: illegal character: \92
          if(numCombinations<5000\\confirm(confirmMessage))//only do it if the number of  combinations to calculate is low, or the user agrees to the warning
        ArregloRichy1.java:75: ';' expected
        if(numCombinations<5000\\confirm(confirmMessage))//only do it if the number of combinations to calculate is low, or the user agrees to the warning
        ArregloRichy1.java:76: ';' expected
       printWordList(crearLista(newArray(),"",inputText))//calculate and then print all combination of the letters provided
       79: illegal start of type
       </script>
     ArregloRichy1.java:80: > expected
   
<table align="center">
     ArregloRichy1.java:80: illegal start of expression
   
<table align="center">
     ArregloRichy1.java:79: not a statement
    </script>
     ArregloRichy1.java:81: > expected
    <form>
     ArregloRichy1.java:81: illegal start of expression
    <form>
     ArregloRichy1.java:83: illegal start of expression
   
<tr>
    ArregloRichy1.java:84: ';' expected
       Ingresar Numero:<inputname="inputField">
    ArregloRichy1.java:84: > expected
       Ingresar Numero:<inputname="inputField">
    ArregloRichy1.java:84: illegal start of expression
       Ingresar Numero:<inputname="inputField">
    ArregloRichy1.java:84: ';' expected
       Ingresar Numero:<inputname="inputField">
    ArregloRichy1.java:84: ';' expected
       Ingresar Numero:<inputname="inputField">
    ArregloRichy1.java:85: illegal start of type
        </td>
    ArregloRichy1.java:86: illegal start of type
       
</tr>
    ArregloRichy1.java:88: illegal start of expression
       
<td>
    ArregloRichy1.java:89: > expected
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:89: illegal start of expression
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:89: ';' expected
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:89: ';' expected
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:89: ';' expected
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:89: ';' expected
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:89: illegal start of type
           <textarearows=10 cois=70>Lista de combinaciones.</textarea>
    ArregloRichy1.java:90: illegal start of type
            </td>
    rregloRichy1.java:91: illegal start of type
           
</tr>
    ArregloRichy1.java:93: illegal start of expression
           
<td>
    ArregloRichy1.java:94: > expected
               <input ;value="List All Possible Combinations">
    ArregloRichy1.java:94: illegal start of expression
               <input ;value="List All Possible Combinations">
    ArregloRichy1.java:93: not a statement
           
<td>
    ArregloRichy1.java:94: ';' expected
               <input ;value="List All Possible Combinations">
    ArregloRichy1.java:95: illegal start of type
                </td>
    ArregloRichy1.java:96: illegal start of type
               
</tr>
    ArregloRichy1.java:97: illegal start of type
                </form>
    ArregloRichy1.java:98: illegal start of type
               
</table>
    ArregloRichy1.java:100: reached end of file while parsing
 
Process completed.
17/11/2009
arquimidespr, experto respondiendo en Ingeniería Informática
Experto
Realmente desconozco si es posible compilar codigo html en java directamente.
17/11/2009
arquimidespr, usuario preguntando en Ingeniería Informática
Usuario
gracias de cualquier forma
Enlaces patrocinados