Hi,
in TS Radarscreen I used to work with indicators which showed me a TRUE or FALSE condition. The table element got green if condition was TRUE vice verse red if condition was FALSE. The EL code for TS I use looks like this: "indicator" is defined as variables: indicator ("");
If condition1 and condition 2 then begin
indicator = "TRUE";
If TrueColor <> -1 Then
Plot1(indicator, "TRUE/FALSE", default, TrueColor)
Else
Plot1(indicator, "TRUE/FALSE");
END
Else Begin
indicator = "FALSE";
If FalseColor <> -1 Then
Plot1(indicator, "TRUE/FALSE", default, FalseColor)
Else
Plot1(indicator, "TRUE/FALSE");
End;
Now the PowerLanguage Editor says "Compiled with errors" and shows the error at Plot(indicator with the message "Types are not compatible"
Why? I don't understand this. Please help.
TRUE/FALSE
-
- Posts: 33
- Joined: 29 Oct 2007
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
add string statements in the future versions of the scanner
hi,
have you add string statements in the future versions of the scanner ( Most probably this feature will be added in the version coming after the 4.0 release.)?
is it possible to add "Description" in column ?
Nuno
have you add string statements in the future versions of the scanner ( Most probably this feature will be added in the version coming after the 4.0 release.)?
is it possible to add "Description" in column ?
Nuno
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Hi nuno-online,
String arguments for plots are supported by the scanner in MC 5.0 beta 2.
If you want to see symbol description in scanner cells, you can apply a custom indicator containing the following line of code:
In future versions, the description field will be added into the scanner.
String arguments for plots are supported by the scanner in MC 5.0 beta 2.
If you want to see symbol description in scanner cells, you can apply a custom indicator containing the following line of code:
Code: Select all
Plot1(description, "description") ;
-
- Posts: 166
- Joined: 21 Nov 2007