From d139b3e8f117f3589bf151277df114653798475c Mon Sep 17 00:00:00 2001 From: Mattias Gaertner Date: Mon, 29 Jan 2018 17:45:53 +0000 Subject: [PATCH] pas2js: docs git-svn-id: trunk@38078 - --- utils/pas2js/docs/translation.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/pas2js/docs/translation.html b/utils/pas2js/docs/translation.html index 641f5d77db..6be100a3b9 100644 --- a/utils/pas2js/docs/translation.html +++ b/utils/pas2js/docs/translation.html @@ -2289,6 +2289,8 @@ End. instance can have its own value. For example TExtA.Value might be different from InstanceExtA.Value. Setting InstanceExtA.Value does not change TExtA.Value. +
  • Const with an expression are replaced by the expression.
  • +
  • Const without an expression are treated as a readonly variable.
  • Class functions and class procedures are allowed, but can only be called via the class, not via an instance.
    For example you can call the class function TJSString.fromCharCode(), but you cannot call aJSString.fromCharCode().