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.
Related topics
Topic
Replies
Views
Activity
Inline javascript code
TMS Web Core VSC
1
318
March 2, 2021
asm, javascript and brackets { }
TMS WEB Core
2
320
February 11, 2022
asm...end - block is not a single statement
TMS WEB Core
2
339
January 18, 2021
Method to suppress asm errors
TMS WEB Core
1
126
April 30, 2024
call pascal function from javascript
TMS WEB Core
13
2118
March 25, 2021
© tmssoftware.com