From d7239e01b5e369e2b3ec49b4c4b4cea072332765 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 09 May 2012 00:07:24 +0000 Subject: boxes can take strings or numbers --- diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index 7d43144..c88dfd9 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -833,6 +833,7 @@ buttons')) label=_('store in box 1'), prim_name='storeinbox1', default=100, + string_or_number=True, logo_command='make "box1', help_string=_('stores numeric value in Variable 1')) self.tw.lc.def_prim('storeinbox1', 1, @@ -844,6 +845,7 @@ buttons')) label=_('store in box 2'), prim_name='storeinbox2', default=100, + string_or_number=True, logo_command='make "box2', help_string=_('stores numeric value in Variable 2')) self.tw.lc.def_prim('storeinbox2', 1, -- cgit v0.9.1