Changes

Jump to navigation Jump to search
m
→‎Start-Forward: Forward and decimal fractions
Line 30: Line 30:  
[[File:TAStartForward-100.png]]
 
[[File:TAStartForward-100.png]]
   −
Well, that's better. Now the procedure actually has content, and the content is exactly the meaning of the block we were looking at, forward 100. The only difference is the decimal point and following 0, meaning that this is a floating point value, not an integer. We don't need that distinction in Turtle Art. We don't need to know all about the difference yet, for what we are doing in Logo.
+
Well, that's better. Now the procedure actually has content, and the content is exactly the meaning of the block we were looking at, forward 100. The only difference is the decimal point and following 0, meaning that this is a floating point value, not an integer. We don't need that distinction in Turtle Art, which takes care of the conversion for us. Forward works fine with fractional distances, although you would have to lay down several different ones side by side to see the difference. We don't need to know all about numeric types yet, for what we are doing in Logo.
    
  window
 
  window
1,009

edits

Navigation menu