diff options
Diffstat (limited to 'pysamples')
-rw-r--r-- | pysamples/load_block.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pysamples/load_block.py b/pysamples/load_block.py index 8924605..b839757 100644 --- a/pysamples/load_block.py +++ b/pysamples/load_block.py @@ -30,6 +30,12 @@ # height of the block is pushed to the FILO heap and can be used to # advance the position of the turtle when creating stacks. +# For example, try the following to place forward 100, right 90 on the canvas: +# start +# Python(forward, 100) <-- Python load_block.py expanded to two arguments +# setxy(xcor, (subtract(ycor, pop))) <-- subtract top of heap from ycor +# Python(right, 90) <-- Python load_block.py expanded to two arguments + def myblock(tw, blkname): |