Issues.00584 - lordmundi/wikidoctest GitHub Wiki

00584: make get_global_var support arrays

« 00583 | Issues | 00585 »

Summary: make get_global_var support arrays

Created: 2016–10–20 11:28

Status: Released

Category: Request

From: frankie

Version: 2.3

Released_In: 2.4

Description:

Right now, if you issue a command over the remote commanding server or the web commanding server to get the value of a global variable, you use the "get_global_var" function. But if the global variable you want is inside an array, it will fail with an error similar to:

upvar won't create a scalar variable that looks like an array element

This is a request to also support arrays.


Comments


« 00583 | Issues | 00585 »

Associated Commits

| commit | f42a9f64682ba29f18812412bb0c9aeeb0aa1051 link5 | || | Author: | Frank Graffagnino | | Date: | Fri Oct 21 09:04:13 2016 -0500 | | Message: | [@Issue 00584: Accidentally left in debug print. Removing… @] |

Affected Files:

gui/remote_commanding_server.tcl | 1 -
 1 file changed, 1 deletion(-)

| commit | 5020abf4f53fe2a03dd6724d01739cb5209d3937 link6 | || | Author: | Frank Graffagnino | | Date: | Thu Oct 20 11:30:39 2016 -0500 | | Message: | [@Issue 00584: Updating RCS get_global_var to support arrays This doesn't have much testing on it yet, but it appears to work ok. @] |

Affected Files:

gui/remote_commanding_server.tcl | 15 +++++++++++±--
 1 file changed, 12 insertions(+), 3 deletions(-)