tmssoftware.com
TMS Support Center
Embedded Javascript
WEB
TMS WEB Core
Randall_Ken
(Ken Randall)
May 8, 2019, 12:38pm
1
Hi,
How can I do:
asm
if (xxx == 54) {
do something
}
end;
without the compiler thinking the { } are comments?
Thanks
Ken
brunofierens
(Bruno Fierens)
May 9, 2019, 12:33am
2
I cannot see a problem with this.
This test works:
procedure TForm2.WebButton1Click(Sender: TObject);
begin
asm
if (1>0) {
alert("hello");
}
end;
end;
Randall_Ken
(Ken Randall)
May 9, 2019, 7:05am
3
Thanks.
© tmssoftware.com