• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

.NET

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

    #61
    Re: Franco

    Now Now Threaded, where are the stack comments? Proper FORTH coders would never leave out the stack comments.

    Comment


      #62
      Re: Franco

      Dim: To do somat like that you'd want this:

      fvariable ci fvariable c fvariable zi fvariable z
      : >2? z f@ fdup f* zi f@ fdup f* f+ 4.0e f> ;
      : nextr z f@ fdup f* zi f@ fdup f* f- c f@ f+ ;
      : nexti z f@ zi f@ f* 2.0e f* ci f@ f+ ;
      : pixel c f! ci f! 0e z f! 0e zi f! 150 50 do nextr nexti zi f! z f! >2? if i unloop exit then loop 0 ;
      : left->right -1.5e 400 0 do fover fover pixel emit 0.005e f+ loop fdrop ;
      : top->bottom -1e 400 0 do left->right 0.005e f+ loop fdrop ;
      .( P5) cr .( 400 400) cr .( 255) cr top->bottom bye


      the other did ascii. Can yours do ascii?

      Comment


        #63
        Re: Franco

        Threaded, you've posted that tulipe before.

        Also, I suggest if you're gonna steal someone elses code you might be kind enough to credit them for it.

        Spod.

        Comment


          #64
          Re: Franco

          Spodly: Nah, not that one, the one I posted before these two was clearly obfuscated.

          Comment


            #65
            Re: Franco

            So you didn't steal the code then Threaded?

            Comment


              #66
              Re: Franco

              because
              fvariable ci fvariable c fvariable zi fvariable z
              : >2? z f@ fdup f* zi f@ fdup f* f+ 4.0e f> ;
              : nextr z f@ fdup f* zi f@ fdup f* f- c f@ f+ ;
              : nexti z f@ zi f@ f* 2.0e f* ci f@ f+ ;
              : pixel c f! ci f! 0e z f! 0e zi f! 150 50 do nextr nexti zi f! z f! >2? if i unloop exit then loop 0 ;
              : left->right -1.5e 400 0 do fover fover pixel emit 0.005e f+ loop fdrop ;
              : top->bottom -1e 400 0 do left->right 0.005e f+ loop fdrop ;
              .( P5) cr .( 400 400) cr .( 255) cr top->bottom bye
              looks remarkably similar to this...
              fvariable ci fvariable c fvariable zi fvariable z
              : >2? z f@ fdup f* zi f@ fdup f* f+ 4.0e f> ;
              : nextr z f@ fdup f* zi f@ fdup f* f- c f@ f+ ;
              : nexti z f@ zi f@ f* 2.0e f* ci f@ f+ ;
              : pixel c f! ci f! 0e z f! 0e zi f! 150 50 do nextr nexti zi f! z f! >2? if i unloop exit then loop 0 ;
              : left->right -1.5e 400 0 do fover fover pixel emit 0.005e f+ loop fdrop ;
              : top->bottom -1e 400 0 do left->right 0.005e f+ loop fdrop ;
              .( P5) cr .( 400 400) cr .( 255) cr top->bottom bye
              Which can be found here

              Comment


                #67
                Re: Franco

                Oh my gawd, Spodly has learnt how to google. There's no stopping him now.

                Comment


                  #68
                  Re: Franco

                  People ACTUALLY still write code when there's that great FREE library out there called Google? :rolleyes

                  I just cut'n'shut bits together rather like one of those backstreet 2nd hand car dealers do in east London.

                  Comment

                  Working...
                  X