The code below gives error Identifier not found "Variant"
unit Unit1;
interface
type
TPerson = class
FData: Variant;
end;
The code below gives error Identifier not found "Variant"
unit Unit1;
interface
type
TPerson = class
FData: Variant;
end;
It is not available.
The web/JavaScript equivalent is JSValue
Here is a list of Delphi / FPC elements that are not supported by Pas2Js:
https://fossies.org/linux/fpcbuild/fpcsrc/utils/pas2js/docs/translation.html#notsupportedelements
I find this page an essential resourse for any serious work with TMS Web Core ;)
Thank you @Stephen_Pienaar. That was useful.