Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    How do you scroll printed results that go off screen.

    Beginners
    6
    16
    728
    Loading More Posts
    • 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.
    • N
      newzed30 last edited by

      figured out the reply problem. for some reason safari wasn't showing the submit/discard buttons. Chrome displays them fine.

      1 Reply Last reply Reply Quote 0
      • N
        newzed30 @Martin last edited by

        @Martin success.jpg some_results_offscreen.jpg

        1 Reply Last reply Reply Quote 0
        • N
          newzed30 last edited by newzed30

          I have a 10 year old student who came across this problem in a book: How many different ways can you make 18 cents with 1,2,5, and 10 cent coins. As a beginner lesson for me i wrote this program to check her results. Fortunately, for 18 cents, all the options fit on screen. More, like the second pic, 21 cents, goes offscreen. I'm thinking that a possible workaround at my level is to put a counter in for the number of printed results and as soon as it reaches, say 30, use the printAt() command to start a new column.

          1 Reply Last reply Reply Quote 0
          • pico8-jihem
            pico8-jihem F last edited by pico8-jihem

            Hello,
            I created a console program (see below) that gives you new commands (cout, coutln) to print data on the screen (inside the console). To see the result, add a coutShow command. When the console is full, it is automatically displayed. You can scroll line by line (one button) or page by page (button b).

            Add me as a friend and you can get it or type it (as you wish).

            Regards,
            jihem

            alt text
            alt text
            alt text
            alt text
            alt text

            N 1 Reply Last reply Reply Quote 1
            • R
              rdurbin F last edited by

              The easiest way to do this, if i am understanding correctly is store everything in an 2d array. You also need an offset variable. Have program display the first 16 rows or whatever. When you hit down add 1 (or whatever number you want) and redraw the results starting from the new row offset. Pushing up you can subtract from offset.

              N 1 Reply Last reply Reply Quote 0
              • N
                newzed30 @pico8-jihem last edited by

                @pico8-jihem ok, cool, what’s your friend code?

                1 Reply Last reply Reply Quote 0
                • N
                  newzed30 @rdurbin last edited by

                  @rdurbin ah, yes, I think I’ll give that a go, cheers.

                  1 Reply Last reply Reply Quote 0
                  • pico8-jihem
                    pico8-jihem F last edited by

                    @newzed30 SW-6069-5734-6696

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Nisse5 F @pico8-jihem last edited by

                      @pico8-jihem Perhaps put your friend code in your signature?

                      1 Reply Last reply Reply Quote 0
                      • pico8-jihem
                        pico8-jihem F last edited by

                        @Nisse5 : Hi, I already have my friend code in my signature but the signatures have been disabled on the forum.
                        So, I put it in my profile.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          Nisse5 F @pico8-jihem last edited by

                          @pico8-jihem Huh, that's strange! My signature with friend code is gone as well. @Martin do you know what's going on?

                          1 Reply Last reply Reply Quote 0
                          • M
                            MikeDX last edited by

                            Someone had a link in their signature and we don't allow those (they link off site with no warning) So they are temporarily disabled

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post