Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. Question of a dusy_dex

Question of a dusy_dex

Scheduled Pinned Locked Moved JavaScript
helpquestionjavascriptdata-structurestools
27 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hakan Bulut
    wrote on last edited by
    #1

    I wanted to do was this: 'oel' array elements, but here you have wrote the script 'oel' elements to 'rec', such as identification and definition could not figure out the problem of pass from a series of rec. Is it possible to success this javascript? Do you have any idea on this issue? Passing from 'oel' array element to 'rec' array elements that I want to do this.

    L D 2 Replies Last reply
    0
    • H Hakan Bulut

      I wanted to do was this: 'oel' array elements, but here you have wrote the script 'oel' elements to 'rec', such as identification and definition could not figure out the problem of pass from a series of rec. Is it possible to success this javascript? Do you have any idea on this issue? Passing from 'oel' array element to 'rec' array elements that I want to do this.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Please don't assume that dusty_dex will just happen to see this message. Post it in reply to the one you are referring to.

      Use the best guess

      H 1 Reply Last reply
      0
      • H Hakan Bulut

        I wanted to do was this: 'oel' array elements, but here you have wrote the script 'oel' elements to 'rec', such as identification and definition could not figure out the problem of pass from a series of rec. Is it possible to success this javascript? Do you have any idea on this issue? Passing from 'oel' array element to 'rec' array elements that I want to do this.

        D Offline
        D Offline
        dusty_dex
        wrote on last edited by
        #3

        Hello Hakan, Your profile says you are living in USA, but obviously you aren't English speaking person. So where are you? It might be easier for me to help you understand if I can translate English to your language. Your code makes no sense. :omg:

        "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

        H 1 Reply Last reply
        0
        • L Lost User

          Please don't assume that dusty_dex will just happen to see this message. Post it in reply to the one you are referring to.

          Use the best guess

          H Offline
          H Offline
          Hakan Bulut
          wrote on last edited by
          #4

          just prefer british english is to American english is very unintelligible.I turned my question to him because of he is not just a foreign on topic.. I'm really sorry for that.

          L 1 Reply Last reply
          0
          • D dusty_dex

            Hello Hakan, Your profile says you are living in USA, but obviously you aren't English speaking person. So where are you? It might be easier for me to help you understand if I can translate English to your language. Your code makes no sense. :omg:

            "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

            H Offline
            H Offline
            Hakan Bulut
            wrote on last edited by
            #5

            So it is not possible to perform in javascript language.. I'm always playing lotto everyweek, and i wanted create a jucidious simple combination wiriting

            D 1 Reply Last reply
            0
            • H Hakan Bulut

              So it is not possible to perform in javascript language.. I'm always playing lotto everyweek, and i wanted create a jucidious simple combination wiriting

              D Offline
              D Offline
              dusty_dex
              wrote on last edited by
              #6

              Of course it *is* possible. :) What is not possible is the understanding. Because of human language. (lost in translation)

              "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

              H 1 Reply Last reply
              0
              • D dusty_dex

                Of course it *is* possible. :) What is not possible is the understanding. Because of human language. (lost in translation)

                "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                H Offline
                H Offline
                Hakan Bulut
                wrote on last edited by
                #7

                if(oel[i] != arrIns[11]) {
                arr = new Array(35);
                arr[i] = oel[i];
                console.log(Array.isArray(arr)); // false
                //arr = arr.join("|");
                //arr.lenght = 35;
                //console.log(arr);
                //if(arr[i] == oel[i]) { arr[i] = true; }
                //arr[i].IsNumeric(); // = this.value;
                //q = Math.floor(35/6);
                //document.write(arr[q].join('\n'), ", ");
                //openPage = function() { location.href = "unlucky2.html?Key=" + arr[i]; }
                //document.getElementById('copy_' + arr[i].id).innerHTML = arr[i].value;
                }
                delete oel[i];

                These are is to following lines of question..

                other numbers that I get to do again, I can not make any other I've ever wanted in an array. an array that 49 elemented to 35 elemented array wanted to assinging and unlucky enough to get a heap of numbers that I wanted to do...

                H D 2 Replies Last reply
                0
                • H Hakan Bulut

                  if(oel[i] != arrIns[11]) {
                  arr = new Array(35);
                  arr[i] = oel[i];
                  console.log(Array.isArray(arr)); // false
                  //arr = arr.join("|");
                  //arr.lenght = 35;
                  //console.log(arr);
                  //if(arr[i] == oel[i]) { arr[i] = true; }
                  //arr[i].IsNumeric(); // = this.value;
                  //q = Math.floor(35/6);
                  //document.write(arr[q].join('\n'), ", ");
                  //openPage = function() { location.href = "unlucky2.html?Key=" + arr[i]; }
                  //document.getElementById('copy_' + arr[i].id).innerHTML = arr[i].value;
                  }
                  delete oel[i];

                  These are is to following lines of question..

                  other numbers that I get to do again, I can not make any other I've ever wanted in an array. an array that 49 elemented to 35 elemented array wanted to assinging and unlucky enough to get a heap of numbers that I wanted to do...

                  H Offline
                  H Offline
                  Hakan Bulut
                  wrote on last edited by
                  #8

                  I do not know exactly but I think that your knowledgeable is enough on this job. Might I asked that you question "How old are you?"...

                  D 1 Reply Last reply
                  0
                  • H Hakan Bulut

                    I do not know exactly but I think that your knowledgeable is enough on this job. Might I asked that you question "How old are you?"...

                    D Offline
                    D Offline
                    dusty_dex
                    wrote on last edited by
                    #9

                    Younger than my feet & older than my head. ;P > 40 re: console.log What are you using for javascript development? now you answer my question. :) Where are you? Hungary/Turkey/Bulgaria...?

                    "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                    H 1 Reply Last reply
                    0
                    • H Hakan Bulut

                      just prefer british english is to American english is very unintelligible.I turned my question to him because of he is not just a foreign on topic.. I'm really sorry for that.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Anlamıyorum!

                      Use the best guess

                      H 1 Reply Last reply
                      0
                      • H Hakan Bulut

                        if(oel[i] != arrIns[11]) {
                        arr = new Array(35);
                        arr[i] = oel[i];
                        console.log(Array.isArray(arr)); // false
                        //arr = arr.join("|");
                        //arr.lenght = 35;
                        //console.log(arr);
                        //if(arr[i] == oel[i]) { arr[i] = true; }
                        //arr[i].IsNumeric(); // = this.value;
                        //q = Math.floor(35/6);
                        //document.write(arr[q].join('\n'), ", ");
                        //openPage = function() { location.href = "unlucky2.html?Key=" + arr[i]; }
                        //document.getElementById('copy_' + arr[i].id).innerHTML = arr[i].value;
                        }
                        delete oel[i];

                        These are is to following lines of question..

                        other numbers that I get to do again, I can not make any other I've ever wanted in an array. an array that 49 elemented to 35 elemented array wanted to assinging and unlucky enough to get a heap of numbers that I wanted to do...

                        D Offline
                        D Offline
                        dusty_dex
                        wrote on last edited by
                        #11

                        Are you trying to copy the numbers so that you start another week's draw? You can't use delete that way for arrays elements. But your code still doesn't make any sense. There are no shortcuts to comparing *all* elements of one array using one command. You need to compare each element of arrIns one by one, with oel[i] then copy *that element* to arr

                        var arr = []; // You do *not* need to use new Array
                        var c = 0;

                        for (var i=0; i < oel.length; i++) {
                        var e = 0;
                        while (e < arrIns.length) {
                        if (oel[i] != arrIns[e]) {
                        arr[c] = oel[i];
                        c++;
                        }
                        e++;
                        } // while-loop

                        } // for-loop
                        oel.length = 0; // reset oel array length to zero, so that you can use the array again

                        "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                        H 1 Reply Last reply
                        0
                        • D dusty_dex

                          Younger than my feet & older than my head. ;P > 40 re: console.log What are you using for javascript development? now you answer my question. :) Where are you? Hungary/Turkey/Bulgaria...?

                          "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                          H Offline
                          H Offline
                          Hakan Bulut
                          wrote on last edited by
                          #12

                          I am living in turkey.. You are older than me 1 year :) I'm 39 years old. Me hakan and Glad to meet you Thankyou for everything... and issue is not computer literature word.

                          D 1 Reply Last reply
                          0
                          • L Lost User

                            Anlamıyorum!

                            Use the best guess

                            H Offline
                            H Offline
                            Hakan Bulut
                            wrote on last edited by
                            #13

                            Anlamadığınız şey nedir?

                            L 1 Reply Last reply
                            0
                            • H Hakan Bulut

                              Anlamadığınız şey nedir?

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              Just about all your comments. I appreciate that English is not your native language, but you may like to find a better translator.

                              Use the best guess

                              1 Reply Last reply
                              0
                              • H Hakan Bulut

                                I am living in turkey.. You are older than me 1 year :) I'm 39 years old. Me hakan and Glad to meet you Thankyou for everything... and issue is not computer literature word.

                                D Offline
                                D Offline
                                dusty_dex
                                wrote on last edited by
                                #15

                                Hello. :-D I am a bit older than 40. the greater than symbol (>) was a clue. :) Benim kod tamam mı? Have a go with Bing translator www.bing.com/translator Proje kodu Yöneticiler üzgün değil deneyin. :wtf:

                                "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                1 Reply Last reply
                                0
                                • D dusty_dex

                                  Are you trying to copy the numbers so that you start another week's draw? You can't use delete that way for arrays elements. But your code still doesn't make any sense. There are no shortcuts to comparing *all* elements of one array using one command. You need to compare each element of arrIns one by one, with oel[i] then copy *that element* to arr

                                  var arr = []; // You do *not* need to use new Array
                                  var c = 0;

                                  for (var i=0; i < oel.length; i++) {
                                  var e = 0;
                                  while (e < arrIns.length) {
                                  if (oel[i] != arrIns[e]) {
                                  arr[c] = oel[i];
                                  c++;
                                  }
                                  e++;
                                  } // while-loop

                                  } // for-loop
                                  oel.length = 0; // reset oel array length to zero, so that you can use the array again

                                  "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                  H Offline
                                  H Offline
                                  Hakan Bulut
                                  wrote on last edited by
                                  #16

                                  I just got a 39, in march 02 :).. I think there is a little misunderstanding here. 1 ... 49 number of the remaining elements of the numbers array of the last 3 weeks trying to get the lucky numbers, I was try to do, just as.

                                  if(oel[i] != arrIns[11])
                                  { oel[i]; }; // When i wrote document.write(oel[i] code in this line I can archive these numbers.

                                  delete oel[i];

                                  Quote:

                                  that is exactly the last 3 weeks I wanted to get back remaining array of numbers. The number that is 49 - 18 = 31

                                  D 2 Replies Last reply
                                  0
                                  • H Hakan Bulut

                                    I just got a 39, in march 02 :).. I think there is a little misunderstanding here. 1 ... 49 number of the remaining elements of the numbers array of the last 3 weeks trying to get the lucky numbers, I was try to do, just as.

                                    if(oel[i] != arrIns[11])
                                    { oel[i]; }; // When i wrote document.write(oel[i] code in this line I can archive these numbers.

                                    delete oel[i];

                                    Quote:

                                    that is exactly the last 3 weeks I wanted to get back remaining array of numbers. The number that is 49 - 18 = 31

                                    D Offline
                                    D Offline
                                    dusty_dex
                                    wrote on last edited by
                                    #17

                                    [ I am mostly working from my memory, and it is getting difficult. ] Ben çok benim hafızasından çalışıyorum ve bu zor gidiyor. Yani, bu ekler:

                                    // add this after the line } // while-loop
                                    document.write(arr.toString());

                                    [ Let me know if that output is what you expected. If not you will have to try posting your current code, so that I can see it all in one go, and not have to try an put this all together in my head ] Bu çıktı beklediğiniz ise bizi. Aksi takdirde, geçerli deftere nakil ki ben her tek seferde görmek ve bir yerine hep birlikte kafamın içinde denemek zorunda değil denemek gerekecek. :sigh:

                                    "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                    H 2 Replies Last reply
                                    0
                                    • H Hakan Bulut

                                      I just got a 39, in march 02 :).. I think there is a little misunderstanding here. 1 ... 49 number of the remaining elements of the numbers array of the last 3 weeks trying to get the lucky numbers, I was try to do, just as.

                                      if(oel[i] != arrIns[11])
                                      { oel[i]; }; // When i wrote document.write(oel[i] code in this line I can archive these numbers.

                                      delete oel[i];

                                      Quote:

                                      that is exactly the last 3 weeks I wanted to get back remaining array of numbers. The number that is 49 - 18 = 31

                                      D Offline
                                      D Offline
                                      dusty_dex
                                      wrote on last edited by
                                      #18

                                      [ I originally asked you (in your earlier posts) ] Başlangıçta (önceki mesaj) sordum Q1. nasıl ne zaman rasgele şanslı numaraları öncekilerin yerine üretilen karar veriyorsunuz? S2. Yeni piyango numarası + şanslı numaraları (otomatik olarak) geçerli tarihi & zamanında üretilmektedir? [ The problem as I see it, is that you need some *automatic* method to keep track of the current week's lucky numbers, and discard the oldest. Week-2 I did it that way with my BASIC program 20+ years ago so that I wouldn't need to keep adjusting the code for extra 6 numbers every week. ] Sorun görüyorum, bazı ihtiyacınız olduğunu * otomatik * yöntem geçerli haftaki şanslı numaralar izlemenize ve en eski atmak için. Hafta-2 Ben fazladan 6 sayı kodunu ayarlama tutmak gerek olmaz bu şekilde temel programım ile 20 + yıl önce her hafta yaptım. [ is the translator good? ] Çevirmen iyi mi?

                                      "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                      H 1 Reply Last reply
                                      0
                                      • D dusty_dex

                                        [ I originally asked you (in your earlier posts) ] Başlangıçta (önceki mesaj) sordum Q1. nasıl ne zaman rasgele şanslı numaraları öncekilerin yerine üretilen karar veriyorsunuz? S2. Yeni piyango numarası + şanslı numaraları (otomatik olarak) geçerli tarihi & zamanında üretilmektedir? [ The problem as I see it, is that you need some *automatic* method to keep track of the current week's lucky numbers, and discard the oldest. Week-2 I did it that way with my BASIC program 20+ years ago so that I wouldn't need to keep adjusting the code for extra 6 numbers every week. ] Sorun görüyorum, bazı ihtiyacınız olduğunu * otomatik * yöntem geçerli haftaki şanslı numaralar izlemenize ve en eski atmak için. Hafta-2 Ben fazladan 6 sayı kodunu ayarlama tutmak gerek olmaz bu şekilde temel programım ile 20 + yıl önce her hafta yaptım. [ is the translator good? ] Çevirmen iyi mi?

                                        "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                        H Offline
                                        H Offline
                                        Hakan Bulut
                                        wrote on last edited by
                                        #19

                                        You were right .. has no need to use new delete method to do this.

                                        D 3 Replies Last reply
                                        0
                                        • H Hakan Bulut

                                          You were right .. has no need to use new delete method to do this.

                                          D Offline
                                          D Offline
                                          dusty_dex
                                          wrote on last edited by
                                          #20

                                          [ Overall, how is it looking? OK? ] Genel olarak, ne arıyor? Tamam?

                                          "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups