Issues.00388 - lordmundi/wikidoctest GitHub Wiki

00388: change joystick2_demo.tcl to use uplevel rather than eval

« 00387 | Issues | 00389 »

Summary: change joystick2_demo.tcl to use uplevel rather than eval

Created: 2011–09–09 15:47

Status: Released

Category: Request

From: frankie

Version: 2.2

Released_In: 2.3

Description:

some functions like update_zm don't work in the example code since it is running through an eval call. Changing the event to something like the following works though:

uplevel #0 $js2_button_release_action($number)

Comments


« 00387 | Issues | 00389 »

Associated Commits

| commit | 1d7ec3a0f47f20e0f31f7d1a6ee05289241b2843 link5 | || | Author: | Frank Graffagnino | | Date: | Wed Sep 21 14:50:43 2011 -0500 | | Message: | [@Issue 00388: Changed joystick2_demo to use uplevel rather than eval @] |

Affected Files:

gui/joystick2_demo.tcl | 6 ++±--
 1 file changed, 3 insertions(+), 3 deletions(-)