Hello!
To define a global variable: global VARIABLE_NAME;
Then you initialize it to NULL like this: set VARIABLE_NAME "";
OR: if you want it to have some predefined value you do this: set VARIABLE_NAME
"8192";
OR: you cat assign the value returned from some procedure: Like this; set rpt
[.top28.fra31.cpd32.02 get];
The local variable rpt now contains what ever value is in .top28.fra31.cpd32.02
You can now us the value assigned to rpt like this: if {$rpt == "8192"}
{.top28.fra31.cpd32.02 delete 0 end;.top28.fra31.cpd32.02 insert 0 "1024"}
The attribute editor is used to modify/view the attributes of the widgets.
Hope this helps.
[EMAIL PROTECTED]
Sylvie Laurain-lamps <[EMAIL PROTECTED]> on 04/14/2000 04:47:43 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Ralph McCord/CIMG/CVG)
Subject: Re: [vtcl-user] HELP : ot display Windows "Variables" AND "Variable
ok, but how do you to define variable without editing the code and modifing the
code ?
Sylvie Laurain
Rick Macdonald a �crit :
> On Thu, 30 Mar 2000, Sylvie Laurain-lamps wrote:
>
> > Thank for your answer but under Window menu, i have just "Attribute Editor",
> > "Function List", "Window List", "Commande console", "Widget Tree".
>
> The "variable" window and editor had no use and was removed. You don't
> need it.
>
> ...RickM...
>
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user