• speed adjustment

    From Thaddeus Slamp@21:1/5 to All on Wed Apr 18 08:09:04 2018
    What is the equivalent in logo (UCBLOGO, specifically) of a for next loop in basic (in basic, actually, for next loops can be used in at least 2 ways, to count and to slow a display down. I'm interested in the latter use. I have a turtle drawing that
    goes to fast for my purposes). Please and thank you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kenjohnson195105@gmail.com@21:1/5 to Thaddeus Slamp on Thu Oct 4 19:29:02 2018
    On Wednesday, April 18, 2018 at 4:09:05 PM UTC+1, Thaddeus Slamp wrote:

    What is the equivalent in logo (UCBLOGO, specifically) of a for next loop
    in basic (in basic, actually, for next loops can be used in at least 2 ways, to count and to slow a display down. I'm interested in the latter use.
    I have a turtle drawing that goes to fast for my purposes). Please and
    thank you.

    Try REPEAT 100 [ ]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bill Gunshannon@21:1/5 to kenjohnson195105@gmail.com on Sun Oct 7 20:17:20 2018
    On 10/04/2018 10:29 PM, kenjohnson195105@gmail.com wrote:
    On Wednesday, April 18, 2018 at 4:09:05 PM UTC+1, Thaddeus Slamp wrote:

    What is the equivalent in logo (UCBLOGO, specifically) of a for next loop
    in basic (in basic, actually, for next loops can be used in at least 2 ways, >> to count and to slow a display down. I'm interested in the latter use.
    I have a turtle drawing that goes to fast for my purposes). Please and
    thank you.

    Try REPEAT 100 [ ]


    Or much higher if your on anything newer than a PDP-11.

    bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kenjohnson195105@gmail.com@21:1/5 to All on Mon Oct 8 01:49:57 2018
    You could also replace, say, FORWARD 100 by REPEAT 100 [FORWARD 1]

    In Nimbus Logo you could redefine the primitive FORWARD like this

    TO FORWARD :DISTANCE
    REPEAT :DISTANCE [$FORWARD 1]

    $FORWARD is the system primitive FORWARD. The new definition of
    FORWARD becomes the default action.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)