I have a unit that I use in one project that has...
[async]
procedure backAppBtnClick(Sender: TObject);
...defined in the class type and then:
procedure TstatusFm.backAppBtnClick(Sender: TObject);
begin
hasDataChanged := False;
await(...);
..
..
end;
...and it compile just fine with no complaints. Yet in another TMS Web application project the same file gets pulled in, however when compiling it I then get
[Error] ...: await only available in async procedure
...which it clearly is, and works when used in the other TMS Web project file.
What would cause this? Setting in the project file somewhere or inclusion of something that shouldn't be? Still digging here, but figured I would ask see if anyone has any insight as to why this is happening with one project and not the other.