Announcement

Collapse
No announcement yet.

Has anybody else had a problem with...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Has anybody else had a problem with...

    ...entire blocks of code just vanishing off the planet?

    I mean it's like ET came down, froze time for a few seconds, placed the cursor on a random spot in the code then held down Ctrl-Y.

    I'm serious about this.

    It doesn't happen very often but often enough to be massively irritating. I've "just about got it", two minutes and it's done. Then Poof, whole blocks wind up buying a one-way ticket to The Twilight Zone.
    There are no atheists in a fox hole or the morning of a math test.
    If my flag offends you, I'll help you pack.

  • #2
    Mel,
    If you are describing what I think you are describing, then its the following process.
    1. Find a block
    2. Scroll down enough that the code you were looking at is off-screen, and paste a new routine or 2
    3. modify your code a snippet to see what happens
    4. compile and run and everything blows up, and you go back and look and wonder??? *WTF*????


    I have to admit...never done a Cntrl-Y.....what does it do?
    Engineer's Motto: If it aint broke take it apart and fix it

    "If at 1st you don't succeed... call it version 1.0"

    "Half of Programming is coding"....."The other 90% is DEBUGGING"

    "Document my code????" .... "WHYYY??? do you think they call it CODE? "

    Comment


    • #3
      According to "Editor Hot Keys", ctrl+y - cuts current line to clipboard. Over past 3 years, I would swear that code has disapeared from my programs, but never tracked it down.
      Just figured I was a bit parnoid and continued on. Still wonder if Windows xp, or my Dell computer, or PBWIN80, is losing code.

      Comment


      • #4
        I used to get that nasty behaviour with the PB IDE 7.x, but i havent been able to reproduce it with the 8.x IDE. The undo engine went crazy, undoing stuff wrong,
        messing code in the wrong places. I dont know if that still exists in pb 8.x IDE, never
        got it anymore, i guess its fixed now.

        Comment


        • #5
          Forgot to mention I'm using CC4.04.

          Well, Brent, I'm glad you are able to "continued on" but I had to start completely anew more than once. It was almost impossible to figure out what code vanished.
          There are no atheists in a fox hole or the morning of a math test.
          If my flag offends you, I'll help you pack.

          Comment


          • #6
            i believe i suggested that somewhere within the last 6 months that for me it would be great if the compiler program created backup files that where incremental in nature. i do not know what would be the perfect solution for the majority of users. maybe having a button available that would create on on demand only. the source files do not take up much drive space and i believe a dedicated directory for any incremental backups would be needed as well to keep the number of files down in number for browsing source file directories. i would also be in favor of renaming default source files to something else rather that .bas, maybe .pbw and .pbc. i have been one that went to erase .bak files and typed .bas instead, i lost over 255 files on msdos system, it made me sick and i never full recovered all lost files.

            paul
            p purvis

            Comment


            • #7
              Just as a proof of concept do the following
              • Cut "Hel" from the last block with "Hello" in it
              • Scroll all the way up so the line you cut is not seen
              • Press <Cntrl>-<Z>

              Guess where it undid at? Not where you would think it did it. Although I have not been able to replicate it if what I cut is still seen within the window. But like a said, proof of concept

              Code:
              #COMPILE EXE
              #DIM ALL
              
              FUNCTION PBMAIN () AS LONG
              
                  Hello
              
              END FUNCTION
              
              #COMPILE EXE
              #DIM ALL
              
              FUNCTION PBMAIN () AS LONG
              
                  Hello
              
              END FUNCTION
              
              
              #COMPILE EXE
              #DIM ALL
              
              FUNCTION PBMAIN () AS LONG
              
                  Hello
              
              END FUNCTION
              
              #COMPILE EXE
              #DIM ALL
              
              FUNCTION PBMAIN () AS LONG
              
                  Hello
              
              END FUNCTION
              Engineer's Motto: If it aint broke take it apart and fix it

              "If at 1st you don't succeed... call it version 1.0"

              "Half of Programming is coding"....."The other 90% is DEBUGGING"

              "Document my code????" .... "WHYYY??? do you think they call it CODE? "

              Comment


              • #8
                I don't have my doc here, but if that's not what it is supposed to do, by all means do not, repeat not report it to the publisher at [email protected] because then it might get fixed!
                Michael Mattias
                Tal Systems Inc. (retired)
                Racine WI USA
                [email protected]
                http://www.talsystems.com

                Comment


                • #9
                  As usual, I'm missing something.

                  I highlight the 4th "Hel",

                  Delete it,

                  Scroll to the top,

                  Press CTL Z,

                  Scroll back down to the 4th again and it has "HelLo' instead of "Hello" which is what I would expect as "Lo" is a Reserved Word (I think).

                  Am using JFPro & XP(sp2) on a Dell XPS 710.
                  It's a pretty day. I hope you enjoy it.

                  Gösta

                  JWAM: (Quit Smoking): http://www.SwedesDock.com/smoking
                  LDN - A Miracle Drug: http://www.SwedesDock.com/LDN/

                  Comment


                  • #10
                    Originally posted by Gösta H. Lovgren-2 View Post
                    As usual, I'm missing something.
                    Press CTL Z,

                    Scroll back down to the 4th again and it has "HelLo' instead of "Hello" which is what I would expect as "Lo" is a Reserved Word (I think).

                    Am using JFPro & XP(sp2) on a Dell XPS 710.
                    Gosta,
                    I think they are using PBEDIT and CTRL-Y.
                    The most exasperating part of the "rat race" is how often the rats are in the lead!

                    Comment


                    • #11
                      Originally posted by Scott Hauser View Post
                      Gosta,
                      I think they are using PBEDIT and CTRL-Y.
                      Oh? I must have misread. I didn't see where anyone used Ctl Y, only where Ctl Y was emulated.

                      What's PBEdit anyway?

                      =============================
                      "A man's a man for a' that!"
                      Burns
                      =============================
                      It's a pretty day. I hope you enjoy it.

                      Gösta

                      JWAM: (Quit Smoking): http://www.SwedesDock.com/smoking
                      LDN - A Miracle Drug: http://www.SwedesDock.com/LDN/

                      Comment


                      • #12
                        "What's PBEdit anyway?"

                        The IDE that comes with PB.

                        Cheers,
                        Dale

                        Comment


                        • #13
                          Gosta,
                          MY BAd, I didn't carefuly read Cliff Nichols's post. He was using CTRL-Z. I guess I subconsiously ignore CTRL-Z unless I am the command prompt and writing EOF.
                          Scott
                          The most exasperating part of the "rat race" is how often the rats are in the lead!

                          Comment

                          Working...
                          X