07-13-2020 08:48 AM
Hi,
in Diadem 2020 this does not work anymore:
@str(cmin('sledX60'),'dd.d')@ g @str(char(64))@ @str(chd(pno(('sledX60'),cmin('sledX60')),1)*1000,'dd')@ ms
This should display xx g @ yy ms
But since the chd function does not work anymore (obsolete), what shall I use instead?
Cheers
Solved! Go to Solution.
07-29-2020 02:08 AM
Hi Sebastian-D,
It is not the CHD command which doesn't work. CHD works fine, even if this command is declared as obsolete.
It is the old - very old - syntax you are using.
a) Strings are defined with >"< like "my text" and not with >'<. This is because of VBS syntax. VBS is used in DIAdem since 2001.
b) A text which should be interpreted must be declared with @@
The correct syntax is: @@str(cmin("sledX60"),"dd.d")@@ g @@str(char(64))@@ @@str(chd(pno(("sledX60"),cmin("sledX60")),1)*1000,"dd")@@ ms
Greetings
Walter
07-31-2020 04:49 AM
Hi Walter,
thanks for that. It works as it should now.
Sebastian