diff options
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r-- | TurtleArt/tabasics.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index 60b8d91..cf309cd 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -553,6 +553,7 @@ tasetshade :shade \r') style='number-style', label='+', special_name=_('plus'), + string_or_number=True, prim_name='plus', logo_command='sum', help_string=_('adds two alphanumeric inputs')) @@ -662,6 +663,7 @@ operators')) style='compare-porch-style', label='>', special_name=_('greater than'), + string_or_number=True, prim_name='greater?', logo_command='greater?', help_string=_('logical greater-than operator')) @@ -678,6 +680,7 @@ operators')) style='compare-porch-style', label='<', special_name=_('less than'), + string_or_number=True, prim_name='less?', logo_command='less?', help_string=_('logical less-than operator')) @@ -692,6 +695,7 @@ operators')) hidden=True, style='compare-style', label='=', + string_or_number=True, special_name=_('equal'), prim_name='equal?', logo_command='equal?', @@ -899,6 +903,7 @@ buttons')) style='number-style-1strarg', label=_('box'), prim_name='box', + string_or_number=True, default=_('my box'), logo_command='box', help_string=_('named variable (numeric value)')) @@ -909,6 +914,7 @@ buttons')) hidden=True, style='basic-style-2arg', label=[_('store in'), _('box'), _('value')], + string_or_number=True, prim_name='storeinbox', logo_command='storeinbox', default=[_('my box'), 100], @@ -923,6 +929,7 @@ variable')) style='basic-style-head-1arg', label=_('action'), prim_name='nop3', + string_or_number=True, default=_('action'), logo_command='to action', help_string=_('top of nameable action stack')) @@ -949,6 +956,7 @@ variable')) hidden=True, style='basic-style-1arg', label=_('action'), + string_or_number=True, prim_name='stack', logo_command='action', default=_('action'), |