Topic Options
#26572 - 01/27/09 08:55 AM Data Selection
Raphael Offline
Junior Member

Registered: 01/16/09
Posts: 15
How can I get Watch global variables in my data selection ?

For example, when I want get job infos, I do Watch.JobInfos[9], and with global variables ?

Thanks

Top
#26573 - 01/27/09 10:05 AM Re: Data Selection
Raphael Lalonde Lefebvre Online   content
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Rapha

Top
#26574 - 01/27/09 01:23 PM Re: Data Selection
Raphael Lalonde Lefebvre Online   content
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
All right, it seems like I may have been wrong after all. There IS a way to make it work, and it's to use the "expandstring" command.

Basically, if you place this in a PressTalk object:

show(expandstring('%{global.GlobalVar}'))

It will display the value of the global variable "GlobalVar" that you set in Watch.

Regards,
Rapha

Top