how to get global variables linked in tcl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

how to get global variables linked in tcl


I wonder how I can document my tcl code such that variables appear as links
inside my procs. Example:

## \file
# File documentation.

## my global variable
variable glob_var
set glob_var "hallo"

## my top proc
proc test {arg1} {
    variable glob_var
    puts [uc $glob_var $arg1]

## my upper casing proc
proc uc {args} {
    return [string toupper $args]

Global variable "glob_var" appears in the Variable section, but the variable
statement inside proc test is not a clickable link. What could be the reason
for that?

Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
Doxygen-users mailing list
[hidden email]