Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/taconstants.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-22 13:01:18 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-22 13:01:18 (GMT)
commita271df28f1e9e7c7734186049f18642509c24541 (patch)
tree8a1e436af2b602b7759e7f250a2d7b7c4534ebc3 /taconstants.py
parent773ed9f689346717d63fe5bbf50d4e9e9a2908b1 (diff)
new sample
Diffstat (limited to 'taconstants.py')
-rw-r--r--taconstants.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/taconstants.py b/taconstants.py
index 7790f07..892d91b 100644
--- a/taconstants.py
+++ b/taconstants.py
@@ -165,7 +165,7 @@ BASIC_STYLE = ['clean', 'penup', 'pendown', 'stack1', 'stack2', 'vspace',
'fullscreen', 'sandwichcollapsed', 'cartesian', 'polar']
BASIC_STYLE_EXTENDED = ['picturelist', 'picture1x1', 'picture2x2',
'picture2x1', 'picture1x2', 'picture1x1a']
-BASIC_STYLE_1ARG = ['forward', 'back', 'left', 'right', 'seth', 'show',
+BASIC_STYLE_1ARG = ['forward', 'back', 'left', 'right', 'seth', 'show', 'image',
'setscale', 'setpensize', 'setcolor', 'setshade', 'print', 'showaligned',
'settextsize', 'settextcolor', 'print', 'wait', 'storeinbox1', 'savepix',
'storeinbox2', 'wait', 'stack', 'push', 'nop', 'addturtle', 'comment']
@@ -267,6 +267,7 @@ BLOCK_NAMES = {
'identity2':['←'],
'if':[' ', _('if'), _('then')],
'ifelse':[' ', _('if'), _('then else')],
+ 'image':[_('show')],
'journal':[' '],
'kbinput':[_('query keyboard')],
'keyboard':[_('keyboard')],
@@ -353,6 +354,7 @@ BLOCK_NAMES = {
'wait':[_('wait')],
'while':[_('while')],
'width':[_('width')],
+ 'write':[_('write')],
'xcor':[_('xcor')],
'ycor':[_('ycor')],
'yellow':[_('yellow')]}
@@ -396,6 +398,7 @@ PRIMITIVES = {
'identity2':'id',
'if':'if',
'ifelse':'ifelse',
+ 'image':'show',
'kbinput':'kbinput',
'keyboard':'keyboard',
'left':'left',