Mitchell D. Conant wrote:
[EMAIL PROTECTED]">

In the init proc:
set testvalue "Oh!"

Michell,

I you are setting a variable within a proc, that variable is only accessible inside the proc.  Commands in other proceedures cannot access that variable.

Here's what I would do to set the variable in the global namespace:

1.) use:

In the init proc:
global testvalue
set testvalue "Oh!"

2.) or use:
In the init proc:
set ::testvalue "Oh!"


The two colons in front of 'testvalue' specify that you want it set in the global namespace.


-- Luke Myers



Reply via email to